Help installing Debian Etch?
May 23, 2008 10:03 AM Subscribe
Okay I'm trying to set up rtorrent and wtorrent using Debian Etch and this guide. Installs and updates the kernel fine, then I get "bash command not found" when trying to run through the rest of the tutorial.
I tried this from a blank slate twice. I must be missing something stupid. My Linux knowledge is limited but I've setup wikis and things just fine. It is running on VMWare ESX as "Other Linux (32-bit)" ... it updated the kernel without incident, and I have SSH running. When I terminal in as root:
rtorrent:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
I tried this from a blank slate twice. I must be missing something stupid. My Linux knowledge is limited but I've setup wikis and things just fine. It is running on VMWare ESX as "Other Linux (32-bit)" ... it updated the kernel without incident, and I have SSH running. When I terminal in as root:
rtorrent:~# apt-get install apache-common apache2-utils autoconf automake \Buh. I searched around and it looks like there might be something wrong with my Bash profile? What am I doing wrong here?
>
autotools-dev binutils build-essential bzip2 ca-certificates comerr-dev \
cpp cpp-4.1 dpkg-dev file g++ g++-4.1 gawk gcc gcc-4.1 libapache-mod-php5 \
libapr1 libaprutil1 libc6-dev libcurl3 libcurl3-openssl-dev libexpat1 \
eading package lists... 0%
Reading package lists... Done
libidn11 libidn11-dev libkadm55 libkrb5-dev libmagic1 libncurses5-dev \
uilding dependency tree... 0%
libneon26 libpcre3 libpq4 libsigc++-2.0-dev libsqlite0 libsqlite3-0 \
libssl-dev libssp0 libstdc++6-4.1-dev libsvn1 libtool libxml2 lighttpd \
linux-kernel-headers lynx m4 make mime-support ntp ntpdate openssl patch \
perl perl-modules php5 php5-cgi php5-common php5-sqlite pkg-config screen \
Building dependency tree... Done
apache-common is already the newest version.
apache2-utils is already the newest version.
autoconf is already the newest version.
automake is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rtorrent:~# autotools-dev binutils build-essential bzip2 ca-certificates comerr-dev \
>
-bash: autotools-dev: command not found
rtorrent:~# cpp cpp-4.1 dpkg-dev file g++ g++-4.1 gawk gcc gcc-4.1 libapache-mod-php5 \
>
-bash: cpp: command not found
rtorrent:~# libapr1 libaprutil1 libc6-dev libcurl3 libcurl3-openssl-dev libexpat1 \
>
-bash: libapr1: command not found
rtorrent:~# libidn11 libidn11-dev libkadm55 libkrb5-dev libmagic1 libncurses5-dev \
>
-bash: libidn11: command not found
rtorrent:~# libneon26 libpcre3 libpq4 libsigc++-2.0-dev libsqlite0 libsqlite3-0 \
>
-bash: libneon26: command not found
rtorrent:~# libssl-dev libssp0 libstdc++6-4.1-dev libsvn1 libtool libxml2 lighttpd \
>
-bash: libssl-dev: command not found
rtorrent:~# linux-kernel-headers lynx m4 make mime-support ntp ntpdate openssl patch \
>
-bash: linux-kernel-headers: command not found
rtorrent:~# perl perl-modules php5 php5-cgi php5-common php5-sqlite pkg-config screen \
>
Can't open perl script "perl-modules": No such file or directory
rtorrent:~# sqlite subversion ucf zlib1g-dev
rtorrent:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Best answer: That whole mess needs to be on one unbroken line, or at least on a series of contiguous lines, because it's actually one command, not 10.
posted by strangecargo at 10:16 AM on May 23, 2008
posted by strangecargo at 10:16 AM on May 23, 2008
Best answer: That section with backslashes ("\") is one command, not a sequence of commands. I wouldn't write it that way; I'd do it in pieces:
# apt-get install apache-common apache2-utils autoconf
# apt-get install automake autotools-dev binutils build-essential bzip2
# apt-get install ca-certificates comerr-dev cpp cpp-4.1 dpkg-dev file g++
etc etc
posted by chairface at 10:17 AM on May 23, 2008
# apt-get install apache-common apache2-utils autoconf
# apt-get install automake autotools-dev binutils build-essential bzip2
# apt-get install ca-certificates comerr-dev cpp cpp-4.1 dpkg-dev file g++
etc etc
posted by chairface at 10:17 AM on May 23, 2008
Best answer: Oh yeah, I just went and clicked on the link. The tutorial is inserting all of those extra blank lines; their "copy and paste from here" example is to blame.
Youll have to take that section that starts with "apt-get install apache-common..." and paste it without the extra linebreaks, or copy it one line at a time, with "apt-get install" at the beginning of each line and without the backslashes.
posted by jozxyqk at 10:26 AM on May 23, 2008
Youll have to take that section that starts with "apt-get install apache-common..." and paste it without the extra linebreaks, or copy it one line at a time, with "apt-get install" at the beginning of each line and without the backslashes.
posted by jozxyqk at 10:26 AM on May 23, 2008
Response by poster: Ah okay, I didn't understand what the backslash was trying to do. I tried doing it one at a time, but didn't include the apt-get install and included the /! It works now.
posted by geoff. at 2:07 PM on May 23, 2008
posted by geoff. at 2:07 PM on May 23, 2008
This thread is closed to new comments.
Try breaking it up into separate calls to apt-get install, instead of the multiline command.
posted by jozxyqk at 10:15 AM on May 23, 2008