i know this is prob a stupid question, but how do you install stuff via terminal with suse 12.2? what im trying to do is update, upgrade and install pure-ftpd via terminal
so i typed this: apt-get update
and got this:
If ‘apt-get’ is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf apt-get
so i tryed: cnf apt-get install pure-ftpd-common pure-ftpd
and got:
apt-get: command not found
so im at a loss on what exactly i need to type in. im in root because i first tryed everything with sudo apt-get xxx
On Fri, 01 Feb 2013 16:06:01 +0000, Sweettea wrote:
> i know this is prob a stupid question, but how do you install stuff via
> terminal with suse 12.2? what im trying to do is update, upgrade and
> install pure-ftpd via terminal
>
> so i typed this: apt-get update and got this:
> If ‘apt-get’ is not a typo you can use command-not-found to lookup the
> package that contains it, like this:
> cnf apt-get so i tryed: cnf apt-get install pure-ftpd-common pure-ftpd
> and got:
> apt-get: command not found
>
>
> so im at a loss on what exactly i need to type in. im in root because i
> first tryed everything with sudo apt-get xxx
>
> thanks
apt-get is a Debian/Ubuntu tool. openSUSE is not a Debian derivative.
and, when/if you seek help via (say) google, be VERY careful because
much of the advice out there on the net is for other distributions or
far to old to be useful in openSUSE…i find it best to use google’s
“site specifier” to first search for answers within this forum, as
described in these:
This is what you will probably use most frequently.
zypper # to print the list of available global options and commands
zypper help search # to print help for the search command
zypper lp # to see what patch updates are needed
zypper patch # to apply the needed patches
zypper se sqlite # to search for sqlite
zypper rm sqlite2 # to remove sqlite2
zypper in sqlite3 # to install sqlite3
zypper in yast* # to install all packages matching ‘yast*’
zypper up # to update all installed packages with newer versions, where possible
zypper in pure-ftpd-common pure-ftpd
Failed to mount cd:///?devices=/dev/disk/by-id/ata-_NEC_DVD+RW_ND-1100A,/dev/sr0 on /var/adm/mount/AP_0xRNS3t5: Mounting media failed (mount: no medium found on /dev/sr0)
Please insert medium ] #1 and type ‘y’ to continue or ‘n’ to cancel the operation. [yes/no] (no):
On 2013-02-01 17:26, Sweettea wrote:
>
> thanks for the reply
>
> what will su zypper up do? and do i need to type it as:
>
> su zypper up install pure-ftpd-common pure-ftpd?
It has help and a manual. You might use it with sudo, or use “su -”
first to become root in that terminal.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
ok so after fixing the repositories, i retried the install, and it said it was already installed hangs head in shame but i cant find it. ive done searches, and looked in many folders…i cant find it. would it give me the already installed message if it actually wasn’t? wouldn’t think it would, but im at a loss as to where it is.
On 02/02/2013 04:06 PM, Sweettea wrote:
> but im at a loss as to where it is.
as far as i know most (if not all) FTP daemons are command line
programs…that is, they have no GUI icon to click…they only run in
the background waiting for someone to come in (through networking) and
knock on their door…
if you start YaST, and go to the Network Devices (on the left) section
and find and then start “FTP Server - Module for FTP Daemon” you can set
up your FTPd so that it starts up when your computer starts and all
kinds of other stuff…there is a “Help” button on every page…
HMMMMMM…but, now looking at your first post again, it looks like you
want to “update” your software…so, open YaST and run Online
Update…hmmmmm, you do not need FTP to do that…do you want to run
FTP so people can ftp into your machine and pick up or drop off files ??
On Sat, 02 Feb 2013 15:06:02 +0000, Sweettea wrote:
> ok so after fixing the repositories, i retried the install, and it said
> it was already installed hangs head in shame but i cant find it. ive
> done searches, and looked in many folders…i cant find it. would it
> give me the already installed message if it actually wasn’t? wouldn’t
> think it would, but im at a loss as to where it is.
rpm -qa | grep ftp
That’ll tell you which ftp packages are installed. Find the package for
PureFTP that way and execute:
rpm -ql [packagename]
Replacing “[packagename]” with the name of the package.
As others said, FTP daemons are not GUI applications. Once installed,
you’ll need to configure it, and there are a number of tutorials around
the 'net on how to do that.