APT-GET missing?

Chat about anything related to Linux Mint
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
Locked
anthonystevens

APT-GET missing?

Post by anthonystevens »

I have an older laptop where I've installed Linux Mint 18.03.
When I tried to install a new package using "sudo apt-get powertop", it asks for my password, then fails with a "program not found" message.
Apparently apt-get is not recognized. What is going on?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
MintBean

Re: APT-GET missing?

Post by MintBean »

sudo apt-get install powertop or, easier to type apt install powertop
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: APT-GET missing?

Post by Flemur »

anthonystevens wrote: Sat Apr 28, 2018 8:49 am I have an older laptop where I've installed Linux Mint 18.03.
When I tried to install a new package using "sudo apt-get powertop", it asks for my password, then fails with a "program not found" message.
Apparently apt-get is not recognized. What is going on?
Good question.

MintBean pointed out that your syntax is wrong, but I get a different error message:

Code: Select all

$ sudo apt-get powertop
[sudo] password for <X>: 
E: Invalid operation powertop
$
You can check for a program like this:

Code: Select all

$ which apt-get
/usr/bin/apt-get
If the program doesn't exist it returns nothing.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Locked

Return to “Chat about Linux Mint”