LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sudo aptitude update command not found (https://www.linuxquestions.org/questions/linux-newbie-8/sudo-aptitude-update-command-not-found-879403/)

justjeff 05-07-2011 06:50 PM

sudo aptitude update command not found
 
trying to get wine working was reading the tutorial-

"Complete Guide to Using Wine from the Command Line (Ubuntu)" first thing it said to do for ubuntu user's was this-

"Before I continue with my rant about gaming on Linux I would like to point out right now that the very first thing you should do when you install your ubuntu set up is to run the following:

Code:
user@ubuntu$ sudo aptitude update
user@ubuntu$ sudo aptitude install ubuntu-restricted-extras

but when i try and run in the terminal i get "command not found".

using ubuntu 11.4 natty kernel linux 2.6.38-8 generic gnome 2.32.1

T3RM1NVT0R 05-07-2011 06:54 PM

@ Reply
 
Use sudo apt-get update

or

sudo apt-get install package_name

or

sudo apt-get upgrade

Above commands depends upon the situation as to what you want to get/installed/upgrade etc.

justjeff 05-07-2011 07:04 PM

thank you, in the tutorial it said to use

sudo aptitude update

and

sudo aptitude install ubuntu-restricted-extras,

had to use get-apt & apt-get, don't know how or if anything should be added to that turorial or not but thought i would pass it along.

T3RM1NVT0R 05-07-2011 07:07 PM

@ Reply
 
its apt-get

Telengard 05-07-2011 07:56 PM

Apparently Aptitude is no longer included with Ubuntu's default install as of 10.10 Maverick Meerkat. Ubuntu-ers seem to prefer apt-get anyway.

The tutorial definitely needs updating.

eveningsky339 05-07-2011 08:19 PM

aptitude is no longer installed on Ubuntu. apt-get update will take care of things for you.


All times are GMT -5. The time now is 06:11 PM.