I see a whole bunch of comments about apt-get being outdated. It's not yet obsolete and still works with many Debian distros. kudos for the tips and videos from Hak5. Thank you Shannon / Darren and the rest of the team!
I've already recorded another episode about apt vs apt-get, but unfortunately a lot of folks think I didn't catch the memo from like 2014. lol. Sorry guys, can't fit all that info into one episode, so I'm starting with apt-get. Next ep on apt airs later this month.
apt-get and apt-cache is obsolete. The commands are: apt update apt install [packagename] apt search [packagename] apt autoremove (Removes packages no longer needed) apt upgrade (Upgrades installed packages) apt dist-upgrade (Upgrades installed packages and dependencies, also newer linux versions) Remember that you can add -y to skip the [Y/n] part of the installation
Being a new user in ubuntu i obviously don't mange my updates with the terminal... Because there is an update manager who 's gonna do it better than me (i think). Keep up the good work, love your videos.
For apt-cache search, you don't need to do that as root, so sudo is not required. The cached list is publicly accessible. (You still need to use root to update the cached list, though, with sudo apt-get update.)
Thanks for your Linux Hak5 tips truly When You have great OS Systems to Manually Upgrade by Terminal You Could not be in any way waiting on Automatic Updates is much more the reason why I enyoy my Linux mint and Ubuntu Great RUclips Channel 👌
I do updates regularly using a custom bash function that I add to every .bashrc in all my accounts. It is somewhat package manager agnostic (ie. It figures which package manager is present, then uses it). It also takes options for rebooting or halting when complete. It can also be run from a cron job and supplied with an option to accept the default's for packages with prompts... but I don't recommend putting that in a cron job... know your changes before accepting the defaults automatically first.
This is basically right. I've been using apt for a while, because lazy so less typing, but there was something I needed to do a week or two ago that needed apt-get. I don't remember what it was. Something a little obscure, though. So basically apt for 99% of things and apt-get when apt doesn't work.
Yes indeed, I can't believe I only discovered this a few days ago! apt install gives you a nice progress bar, apt search is so much quicker to type without the hyphen (and always forgetting it's apt-cache, not apt-get). However, you do need to keep using apt-get in scripts and cron jobs! cron is not interactive, so all that progress bar business doesn't work in cron and can lead to errors.
apt-get still works. don't yield to those that don't realise apt-get has not yet been obsoleted. ifconfig still works have not yet fully moved to ip addr show.
Dont forget apt-get autoremove to get rid of unused dependencies. Looks like there are many extra old kernels just hanging about there taking up space.
A command question please- to get Firefox UPDATES, would the command for Mint be- sudo apt-get firefox updates.deb or do I leave off the .deb? Thanks, and keep making videos
You can always check the package installation detials and the PGP signitures of the maintainer, basiclly it is similar to the dev of the Linux Kernel in a sense.
P.S. I normally update and install through my linux terminal manually , but i seem to have a problem authorizing with my password or username. Since corrected the main errors like just mentioned the username wont execute to update or install !
Can you get a link to bitbucket and then when you shout it out, ask to click the link? I feel that if you set it up with bitbucket, you could get a deal that increases your ad revenue based on the amount of people view the link you provide.
Meanwhile on RHEL, CENTOS etc. yum is the tool, and the packages have various extensions. For example three's gcc-c++.i686 or similar. And yeah I loved dpkg on Debian. Alas, no such animal on RHEL/CENTOS which is my world right now. But there are RPM's.
I always add -av to that and skip the build dependencies until everything else is updated. ...sometimes --with-bdeps introduces dependency conflicts that you otherwise don't have to deal with right away, and which might go away on their own if you just update the rest of your system first. I also usually substitute -U with -N unless the -N causes an unnecessary firefox rebuild or something awful like that, but -U is a sane choice. And I can't be bothered to type the '@' symbol. While I realize that world is a set, it still works fine without it, for legacy reasons I guess ;)
Why would anyone unless you are are a Linux nerd, coder, developer etc want to go through this stuff in order to use a computer. I have used Linux for a number of years and it seems the technology used in Linux has more or less remained the same. There is no "wow" factor for me. I bit the bullet and went back to Windows. I got my shiny new Windows 10 and it's downright awesome. Plug and play...works! Games and programs...works! New hardware click! works. The installation was a breeze. Now I can use my iTunes and Microsoft Office with no problems. I just want to use my computer without it taking 3 times longer than a Windows machine--no more "apt get" for me. Peace.
Apt based distros aren't normally what I use for myself, but when I install an os for someone else I tend to go with one of those. So the other day I was trying to uninstall something and didn't notice that it decided the desktop environment was nolonger necessary... At least I did catch it in time and was able to reinstall everything without the person noticing. It's handy that apt-get gives you a list of what it's just uninstalled.
I see a whole bunch of comments about apt-get being outdated. It's not yet obsolete and still works with many Debian distros. kudos for the tips and videos from Hak5. Thank you Shannon / Darren and the rest of the team!
I've already recorded another episode about apt vs apt-get, but unfortunately a lot of folks think I didn't catch the memo from like 2014. lol. Sorry guys, can't fit all that info into one episode, so I'm starting with apt-get. Next ep on apt airs later this month.
Shannon Morse I still use apt-get and ifconfig (still running an old Kali installl on one of my boxes).
apt-get and apt-cache is obsolete.
The commands are:
apt update
apt install [packagename]
apt search [packagename]
apt autoremove (Removes packages no longer needed)
apt upgrade (Upgrades installed packages)
apt dist-upgrade (Upgrades installed packages and dependencies, also newer linux versions)
Remember that you can add -y to skip the [Y/n] part of the installation
Thank you so much! I'm brand new to Linux and had not idea how idea how to get started. At least now I know how to download packages.
Being a new user in ubuntu i obviously don't mange my updates with the terminal... Because there is an update manager who 's gonna do it better than me (i think). Keep up the good work, love your videos.
yeah but in a terminal you can update everything at once with one line:
sudo apt update && sudo apt upgrade -y
thank you i am going to take a try.
You have an amazing contents for beginner, thank you and keep em coming.
thanks snubs, cleared a few things up for me!
For apt-cache search, you don't need to do that as root, so sudo is not required. The cached list is publicly accessible. (You still need to use root to update the cached list, though, with sudo apt-get update.)
Could you please tell me what happens if we run Multiple upgrading software using mxrepo (mx-linux)
Thanks for your Linux Hak5 tips truly When You have great OS Systems to Manually Upgrade by Terminal You Could not be in any way waiting on Automatic Updates is much more the reason why I enyoy my Linux mint and Ubuntu Great RUclips Channel 👌
her voice is somehow relaxing.
feels like listening to asmr stuff
Just got home from work and this is the first thing - besides the nasty mcdonalds that I just ate - that I see. Nice!
I do updates regularly using a custom bash function that I add to every .bashrc in all my accounts. It is somewhat package manager agnostic (ie. It figures which package manager is present, then uses it). It also takes options for rebooting or halting when complete. It can also be run from a cron job and supplied with an option to accept the default's for packages with prompts... but I don't recommend putting that in a cron job... know your changes before accepting the defaults automatically first.
I thought the Debian based distros were trying to get away from `apt-get` and just use `apt`
apt is much simplier, but im still using apt-get dunno why
Not sure about that, but as noted in my comment above, if you install 'apt-utils', you can simply use 'apt'.
imo it's just a matter of choise, personally use dpkg and apt-get (cuz old habits) indistinctively...
This is basically right. I've been using apt for a while, because lazy so less typing, but there was something I needed to do a week or two ago that needed apt-get. I don't remember what it was. Something a little obscure, though.
So basically apt for 99% of things and apt-get when apt doesn't work.
Yes indeed, I can't believe I only discovered this a few days ago!
apt install gives you a nice progress bar, apt search is so much quicker to type without the hyphen (and always forgetting it's apt-cache, not apt-get).
However, you do need to keep using apt-get in scripts and cron jobs!
cron is not interactive, so all that progress bar business doesn't work in cron and can lead to errors.
I'm very big fan of you. Miss your Teaching style is very brilliant & Awesome. Very knowledgefull video of bash bunny(Pin drive).
apt-get still works. don't yield to those that don't realise apt-get has not yet been obsoleted. ifconfig still works have not yet fully moved to ip addr show.
sudo apt-get install -y apt-utils
After that, you only need to do sudo apt install _____ and you get a nice little Progress bar. Hope this helps. =)
and on black arch ?
You mean SYNAPTIC Package Manager., What about about
Dont forget apt-get autoremove to get rid of unused dependencies. Looks like there are many extra old kernels just hanging about there taking up space.
Love your show!
Please help me the following command does not work : sudo apt install dsnutils, E: Unable to locate package dsnutils
A command question please- to get Firefox UPDATES, would the command for Mint be- sudo apt-get firefox updates.deb or do I leave off the .deb? Thanks, and keep making videos
pacman and AUR yaourt FTW
Andy Lyu yaourt seems a little sketchy. checking the pkg file and installing it manually might be worth it considering anyone can submit to the AUR.
When you use yaourt you can edit the pkg file, and install file before installingit, so you can be sure what the file does.
You can always check the package installation detials and the PGP signitures of the maintainer, basiclly it is similar to the dev of the Linux Kernel in a sense.
Yaourt sources the pkg file before you get a chance to read them. Use pacaur instead.
username +1 for pacaur
P.S. I normally update and install through my linux terminal manually , but i seem to have a problem authorizing with my password or username. Since corrected the main errors like just mentioned the username wont execute to update or install !
Can you get a link to bitbucket and then when you shout it out, ask to click the link? I feel that if you set it up with bitbucket, you could get a deal that increases your ad revenue based on the amount of people view the link you provide.
I don't have a referral link to share, sorry!
All my linux boxes are raspberry Pi with Raspbian. So apt-get all the time!
I am getting an Error: Unable to locate package
What should I do?
why not apt ? apt-get is old in Debian base distro's
Meanwhile on RHEL, CENTOS etc. yum is the tool, and the packages have various extensions. For example three's gcc-c++.i686 or similar.
And yeah I loved dpkg on Debian. Alas, no such animal on RHEL/CENTOS which is my world right now. But there are RPM's.
I saw "aptitude" being used as package installer at few places.
@Shannon: is that a Dell XPS?
Whats the small keyboard shes uses on the right of the laptop?
Daniel Haulsey teleprompt controller
I prefer to use APT rather than apt-get these days, it shows more info if installing multiple packages etc
Very helpful
Can anyone tell me what's the other name for the dash symbol? I heard Shannon saying tek or something like that.
tack tack (like thumb tack)
Adam Magness Thanks :)
flatpak FOR THE WIN !!!!!!
Why is there ‘hier niet poepen’ in the background?
how to recovery
sudo pacman -Syyu
what if you don't have sudo installed lol ( su first then install then exit )
Manual update on Ubuntu, crontab on freebsd.
No package or terminal jokes. I'm so mature.
Can I know how to become super user
TOTORO! YES!!
Linux users love CLI
I update my packages using the command "emerge -uDU --with-bdeps=y @world"
I always add -av to that and skip the build dependencies until everything else is updated. ...sometimes --with-bdeps introduces dependency conflicts that you otherwise don't have to deal with right away, and which might go away on their own if you just update the rest of your system first. I also usually substitute -U with -N unless the -N causes an unnecessary firefox rebuild or something awful like that, but -U is a sane choice.
And I can't be bothered to type the '@' symbol. While I realize that world is a set, it still works fine without it, for legacy reasons I guess ;)
I want those stickers
I love CLI more than GUI
I want those stickers.😂😂😂
Pacaur -Syu
still use apt-get update/ upgrade
Max Luchs update updates the programs and packages on your system. upgrade allows you to update they system packages and software
shiny coat
Why would anyone unless you are are a Linux nerd, coder, developer etc want to go through this stuff in order to use a computer. I have used Linux for a number of years and it seems the technology used in Linux has more or less remained the same. There is no "wow" factor for me. I bit the bullet and went back to Windows. I got my shiny new Windows 10 and it's downright awesome. Plug and play...works! Games and programs...works! New hardware click! works. The installation was a breeze. Now I can use my iTunes and Microsoft Office with no problems. I just want to use my computer without it taking 3 times longer than a Windows machine--no more "apt get" for me. Peace.
sister super
guys I can't watch the video, I forgot to install html5
Totoro ^~^
hi sister just something us Kali or black arch Kali . people don't like abouto
what
hi mam my Facebook password and email hacked today plz help
i just wanted to say.. you like hot with glasses 😎
Apt based distros aren't normally what I use for myself, but when I install an os for someone else I tend to go with one of those. So the other day I was trying to uninstall something and didn't notice that it decided the desktop environment was nolonger necessary... At least I did catch it in time and was able to reinstall everything without the person noticing. It's handy that apt-get gives you a list of what it's just uninstalled.
10 PRINT HAKTIP ;
20 GOTO 10
...will fill the screen with zeroes.
Try this instead:
10 PRINT "HAKTIP",
20 GOTO 10