Deadjasper
2[H]4U
- Joined
- Oct 28, 2001
- Messages
- 2,584
"I get unable to locate package owncloud" when I ""sudo apt-get remove --purge owncloud owncloud-client""
Thanks
Thanks
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
sudo apt-get purge owncloud*
sudo apt autoremove
These commands should remove anything associated with opencloud and it's dependencies.
You da man !! It's gone !!
Awesome, glad to be of assistance. To outline the commands:
sudo apt-get purge owncloud* = sudo, which is like logging as admin for the purpose of running apt which is the package manager for Mint and purging anything beginning with owncloud with the use of '*' which is the wildcard.
sudo apt autoremove runs apt as admin (basically elevates privileges) to auto remove any dependencies not associated with an installed package.
You could possibly run sudo apt purge owncloud* in place of sudo apt-get purge owncloud* as apt has replaced apt-get. Try to familiarize yourself with the use of apt in the terminal as you'll be using it quite often and once you get the hang of it you'll wonder how you ever did without it under other operating systems!
apt replaced apt-get? I always thought that apt-get was addressing apt from the get-go?
You can use either, apt actually has a nicer looking terminal interface than plain old apt-get. I actually prefer apt as there's less to type.
I may have to mess around with apt more on my Ubuntu LXDM
Go for it! The best way to learn is to try to use something you're uncomfortable with as much as possible until the penny drops.
Then I can ask you for advice.
So... found out the equivalence for the most commonly used apt-get commands (with sudo of course)
apt-get update -> apt update
apt-get upgrade -> apt upgrade
apt-get dist-upgrade -> apt full-upgrade
apt-cache search <searchtext> -> apt search <searchtext>
apt-get install <packagename> -> apt install <packagename>
I will definitely say that apt is whole lot closer to normal terminal apps than apt-* multiple apps.
I find the newer 'apt' far cleaner than the older 'apt-get', I rarely use apt-get anymore. Just remember, any time you want a list of installed packages use the command 'dpkg --list'.
Why not just use "apt list --installed" instead? (edited due needing "--installed")
View attachment 65930
Yes and no. From a UNIX philosophy standpoint it actually isn't. Kinda like systemd, apt serving multiple purposes the way it does goes against the UNIX philosophy of splitting things up into many smaller processes. Now, that being said I personally like apt more for the reasons listed by others, but it does have its caveats. I'm also not one of the systemd haters. I actually quite like systemd, and think the people who don't need to chill out a bit.I will definitely say that apt is whole lot closer to normal terminal apps than apt-* multiple apps.
So, one thing about apt though, is that while it is nicer to use by hand, if you are writing a script it is still recommended to use an apt- command because apt doesn't always behave correctly in a script. It even gives you a warning if you combine it with another command such as sudo apt purge owncloud* && sudo apt autoremove
Yes and no. From a UNIX philosophy standpoint it actually isn't. Kinda like systemd, apt serving multiple purposes the way it does goes against the UNIX philosophy of splitting things up into many smaller processes. Now, that being said I personally like apt more for the reasons listed by others, but it does have its caveats. I'm also not one of the systemd haters. I actually quite like systemd, and think the people who don't need to chill out a bit.
I never understood all the fuss over systemd, gotta love the neckbeards.
https://www.zdnet.com/article/linus-torvalds-and-others-on-linuxs-systemd/
I do hope that at some point it gets dumped but I doubt that will happen. lol
In its defense I don't think it has been the disaster some feared. Still it does try and do way more then most developers like. It hasn't made updates the massive pain the rear some feared for instance.
I've never had a problem with it and the only time I reboot when updating is for kernel updates, having said that I read that the latest version of Ubuntu is allowing for live patching meaning no reboots for kernel updates. I think earlier on there was some concern over systemd, but I think most of the concerns were fairly unwarranted.