Today's article has you *completely* removing an application in Ubuntu...

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
11,701
Reaction score
10,240
Credits
96,839
I forgot to post this when it was published earlier today. Then I had to step away from the 'net and do real world things. So, it's late. But, better late than never, I suppose!

The title sums it up nicely.


I do like feedback. Even if I don't edit that article, it'll possibly reflect in further articles.
 


NailedIt.gif


Only thing I might add is to combine them into an alias function, ala:
Code:
function apt_purge() {
    sudo apt purge $1 && sudo apt autoremove
}
and place it in .bashrc or .bash_aliases.
 
They may not want to purge all the time, and may not want to autoremove. But, those are still valid ideas. Heck, leave 'em as a comment on the site, if you want. I don't mind. I approve all but spam comments.

I'd thought about a forum (when first picturing what the site would potentially become) but definitely won't do so while sharing links and content here. To do so under the current circumstances would just be cheesy. But, you can still comment on the articles, and people do sometimes do so.

And, an article on aliases is definitely on the list. It's an article I've been meaning to write for months now, but I'm concerned that it'll be too deep and come out too long.

I live dangerously - I just type 'update' and it's aliased to:

alias update="sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt clean -y"
 
They may not want to purge all the time, and may not want to autoremove. But, those are still valid ideas. Heck, leave 'em as a comment on the site, if you want. I don't mind. I approve all but spam comments.
epiphany moment? - You want us to leave comments on the blog site? I thought you meant here. I was being a good soldier, or so I thought.
 
If you think it's something you want future article readers to read, it's best left as a comment on the linux-tips.us site.

If it's just to gab about the site, leave regular feedback, voice your thoughts, etc. then leaving it right here is just fine and dandy.

But, future readers of the articles are unlikely to root around for the corresponding thread here - or on Reddit where it's automatically posted. Speaking of which, I need to set that up for Twitter. Ugh... I think I have a fairly easy way to go about it, using IFTTT should do it - I'll have to look.
 
Code:
alias apurge='sudo apt purge -y --autoremove'
or using nala:
Code:
alias upgrade='sudo nala upgrade'
nala does autoremove magically
 
Hmm... I thought apt dropped support for a lot of the flags starting with two dashes - like --autoremove, with that one in particular being one dropped. Maybe I'm thinking of something else.
 
Another excellent article...easy to understand and do.
happy0034.gif


Back in the dark days of windwoes, to do the same thing... when you were allowed...you had to go in to the Registry and delete every key to that software and there were many which was a dangerous thing for the inexperienced.
evilgrin0010.gif


Yet people say...Linux is too hard.
anim_59.gif
 
I actually find Linux easier than Windows.

If you took two perfectly equal people who had never used a computer before and set them down at one for Windows and one for Linux, I think the Linux user would be up to speed faster than the Winows user. In other words, after a year of each using their respective OS, I think the Linux user would know more, be more capable, and more productive.
 
I actually find Linux easier than Windows.

If you took two perfectly equal people who had never used a computer before and set them down at one for Windows and one for Linux, I think the Linux user would be up to speed faster than the Linux user. In other words, after a year of each using their respective OS, I think the Linux user would know more, be more capable, and more productive.
I wouldn't go so far as to say Linux is easier. I think it's probably on par with Windows at this point. But I couldn't say the same 5 years ago. I think it matters how a person learns, and what their interests are. Someone who gets along well in a GUI won't necessarily get along in a terminal. And let's admit it ... Linux is still very much CLI based for all the really cool stuff, with GUI being topping on the cake.

Though I have a long history working in IT in the Microsoft ecosystem, I also find myself doing things the "linux way". These days I use Windows exclusively as a developer. I no longer manage servers or networks, and don't really care that my desktop background is a big corporate logo. So I don't remember where all the gadgets are. I think it's more about being used to the environment. Driving a Honda for a while, switching to a Toyota and finding some of the controls in the "wrong place".
 
I prefer Synaptic Package Manager or Muon Package Manager.

I can scroll through and manually remove leftovers that purge and autoremove don't always remove.

When finished I run.
Code:
sudo apt clean

sudo apt autoclean

These are also useful for locating software packages / applications.
Code:
dpkg --list | grep package name

dpkg --list | grep -i package name
 
I wouldn't go so far as to say Linux is easier.

I would. It's far more logical, even at the basic user level. You don't press Start to turn Linux off, for example.

I think it's probably on par with Windows at this point.

I think it has been easier for a long time, largely since software acquisition has become a solved problem.

That doesn't mean that it can't be complicated, just that it's easier for day to day operations for the average user. Even updating our software is easier than it is in Windows - and not just system software.

Full disclosure:

I used Unix long before I used Windows. But, I think that gives me an advantage because it means I remember what it was like to learn to use Windows. If you learned Windows first, Linux may seem like pure witchcraft to you.
 
I prefer Synaptic Package Manager or Muon Package Manager.

I do pretty much all software management in the terminal. I just find it faster and easier - and more informative.

I also don't tend to write many articles about how to do stuff in a GUI - unless it's some hidden setting or complicated. I kinda try to only write about things that *I* think people need help with - and mostly aimed at people new to Linux or new to a task you can do in Linux, thus the tagline of "getting you up to speed".
 
If you learned Windows first, Linux may seem like pure witchcraft to you.
Shoot, moving from Windows 3.x to Windows 95 was witchcraft to me. Start menus, desktop icons; things that are very common in modern guis, were a foreign concept. But, I was very versed in the DOS filesystem and command line, batch files, modifying INI files, and other general stuff, so graduating to 95 was not a terrible ordeal.

Understanding DOS, and configuration files was probably a bit of a savior for me, moving into Linux in the early 2000s. But things like source compiling, dependency hell, etc. created quite a barrier that I had to really muddle through.
 
But things like source compiling, dependency hell, etc. created quite a barrier that I had to really muddle through.

Fortunately, software acquisition is pretty much a solved problem and has been for a long time. We even have a smorgasbord of software to pick from.

As was mentioned above, we don't have to manually clean the registry (or trust some registry cleaner) to do things like remove all of a piece of software's tendrils. We can just purge and be done with it. To me, it just makes so much more sense.

I use GUI and terminal just depends on which I feel like using at the moment.

Oh, I do plenty in the GUI - like browse, email, and create. Software I manage in the terminal - except I tend to use a GUI to remove a malfunctioning PPA and to pick which mirrors I'll use (though I usually leave that as the default).
 
For me the switch to Linux was easy...I just had to learn Terminal commands and the Synaptic Package Manager. I don't use the Terminal that often and love the GUI because the days of DOS are dead and gone.
happy0035.gif


Linux is easier than windwoes because there's so many things I don't have to worry about any more...and this thread reminded of one of them. :eek:
 
For me the switch to Linux was easy...I just had to learn Terminal commands and the Synaptic Package Manager. I don't use the Terminal that often and love the GUI because the days of DOS are dead and gone.
happy0035.gif


Linux is easier than windwoes because there's so many things I don't have to worry about any more...and this thread reminded of one of them. :eek:
The switch from Windows to Linux isn't hard as long as the new to Linux user is willing to learn some basic Linux how to.

I didn't have much of a problem swithing over to Linux from Windows after a few days of messing with Linux.
 

Staff online


Top