The APT Package Manager in Debian and Ubuntu

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ส.ค. 2024
  • In this video, I cover a few of the most common commands you will need to use with the APT package manager that is used in Debian, Ubuntu and those distros based on Debian and Ubuntu.
    -----
    WANT TO SUPPORT THE CHANNEL?
    Please like, share and subscribe. And check out my Patreon page:
    / distrotube
    Your support is very much appreciated. Thanks, guys!

ความคิดเห็น • 66

  • @rmcellig
    @rmcellig 6 ปีที่แล้ว +20

    When I switched from the Mac a few years ago, I cursed the terminal. I thought it was the most backward thing I ever used. Keep in mind I still had my " Mac attitude". Nowadays I love using the terminal!! Today I had to unzip a few files. I used to use the GUI for this but I found a super simple way that unzipped them all at once from the terminal. Same goes for creating folders. Much faster with the terminal!! Great video again Derek!! 😀

    • @gabrielhermesson9926
      @gabrielhermesson9926 2 ปีที่แล้ว

      Funny, I switched from a Mac, but for the opposite reason! I got used to using Terminal on my Mac bc it would be faster and update before anything else on the system did. Then I stumbled across Linux 🤣

    • @rmcellig
      @rmcellig 2 ปีที่แล้ว

      @@gabrielhermesson9926 excellent!!

  • @slyox66
    @slyox66 6 ปีที่แล้ว +7

    Thanks for explaining the "man" command, very helpful. I use the command line to update, upgrade ,autoremove, etc . Good tutorial

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว +3

      >Thanks for explaining the "man" command
      The man command is awesome. If you need more info about man, then you can always man man. :D

  • @waynestewart1919
    @waynestewart1919 2 ปีที่แล้ว +1

    Its good to know a fellow-Southerner is making Linux content. Great video! I am now a subscriber!

  • @uncut_cowboy
    @uncut_cowboy 4 ปีที่แล้ว +4

    Thank you man, this is exactly how a tutorial should be.

  • @kylebriffa7
    @kylebriffa7 6 ปีที่แล้ว +5

    Great video Derek. I enjoy these tutorial-type videos.
    I would like to see a video on how to make sense of a command, either being part of the system or 3rd party package. How to read its help and man pages when you're stuck. How to makes sense of the syntax having various options and values etc. i feel this was one which I would have liked to learn when I switched to linux.
    Thank you.

  • @RockawayCCW
    @RockawayCCW 6 ปีที่แล้ว +14

    Quick tip: when installing Debian, if you skip the root password it will automatically setup sudo for you.

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว +4

      Thanks for the tip.

  • @rmatveev
    @rmatveev 2 ปีที่แล้ว

    Very detailed review. Thank you for such a deep dive into the topic!

  • @ricardorien
    @ricardorien 3 ปีที่แล้ว

    You are a lifesaver, dude. Thanks for teaching!

  • @elmoreglidingclub3030
    @elmoreglidingclub3030 3 ปีที่แล้ว

    Great stuff!! Thanks for posting. Very helpful. Much appreciated.

  • @smgsngon5804
    @smgsngon5804 ปีที่แล้ว

    this is perfect for me. I use these commands and i appreciate the information given about them.

  • @RandyBlankenshipvapingcisco
    @RandyBlankenshipvapingcisco 6 ปีที่แล้ว +1

    Great video I learn something new every time you do a video thanks

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว +1

      Randy Blankenship Thank you, sir.

  • @tigrangevorgyan3584
    @tigrangevorgyan3584 3 ปีที่แล้ว

    Great useful video, thanks!

  • @jzbreezio
    @jzbreezio 5 ปีที่แล้ว +1

    thank you for the clear instructions.

  • @amphetaminocid
    @amphetaminocid 3 ปีที่แล้ว +1

    This video made me love Linux even more than before
    Thanks a ton

  • @HektorBandimar
    @HektorBandimar 4 ปีที่แล้ว

    Thanks, I found that information very useful.

  • @yuriykazmirchuk9641
    @yuriykazmirchuk9641 5 ปีที่แล้ว

    Thanks for the video.
    I found Debian's based apt package manager and also aptitude and synaptic to be the most convenient, stable and efficient for me. Aptitude is terminal based and can be used without a GUI and is a synaptic alternative.

  • @patriotic1526
    @patriotic1526 2 ปีที่แล้ว

    Just the video I was looking for! Us noobs coming to Linux dig this stuff as it filled in some gaps in my understanding of the apt manager. the manual.... awesome

  • @8cyl6speed
    @8cyl6speed 6 ปีที่แล้ว +2

    WHOA awesome channel, easy sub

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว +1

      Thanks! Much appreciated!

  • @bigbadlouroma
    @bigbadlouroma 5 ปีที่แล้ว

  • @serge5046
    @serge5046 6 ปีที่แล้ว +7

    Hello DT! su is for substitute user: it doesn't have to be root. If you don't give any user it is assumed that it is root but you might substitute to another user who isn't root.
    Two interesting packages to install to help cleaning the system in a proper way are deborphan and debfoster. You can also use apt remove --purge.
    Best regards,
    Serge

    • @Linuxbabeofficial
      @Linuxbabeofficial 5 ปีที่แล้ว +5

      And many folks think "sudo" stands for "super user do", actually it's "switch user and do something". By default it switches to root, but you can switch to another user with "sudo -u username ..."

  • @uncut_cowboy
    @uncut_cowboy 5 ปีที่แล้ว

    Thank you friend

  • @abidalica
    @abidalica 6 ปีที่แล้ว +1

    Great video

  • @bhanukbm
    @bhanukbm 4 ปีที่แล้ว +1

    is there a website that lists all the available software programs for Ubuntu, like an app store(or repository) that can be installed using apt get

  • @MrNeilypops
    @MrNeilypops 6 ปีที่แล้ว +1

    Great video! Have you thought of expaining 'sudo without a password'...not going to post the method here but as a SOLO user a simple edit to /etc/sudoers means you no longer have to keep punching in an admin password...

  • @bigbadlouroma
    @bigbadlouroma 5 ปีที่แล้ว

    Quick question, can you share an internet connection from a desktop using a second WiFi card with an antenna?

  • @junaidahmed9704
    @junaidahmed9704 4 ปีที่แล้ว

    how can we check the installed packages and their size like we can see the programs installed in windows

  • @PearComputingDevices
    @PearComputingDevices 5 ปีที่แล้ว

    I love your desktop. Is that Mate? Love it anyway. Looks highly functional to boot.

  • @Joe-wk8vb
    @Joe-wk8vb 6 ปีที่แล้ว +1

    A video on PPA's would be great

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว

      Joe I may cover PPAs later. And snaps. And flatpak. Etc...

  • @bobtailsquid
    @bobtailsquid 5 ปีที่แล้ว

    In my opinion Debian/Ubuntu repos annoying in that unlike arch if I want to install say brave so apt install brave I’ll need to open a browser to find the right ppa is there not away around this?

  • @CODOnlineInfoCODChina
    @CODOnlineInfoCODChina 6 ปีที่แล้ว +2

    Nice video. Can you also explain the difference between apt and apt-get? I noticed that out of the box, my system does not have apt but I'm able to use apt-get.

    • @edg.9142
      @edg.9142 6 ปีที่แล้ว +1

      From the man page of apt, I understand that apt is more an end-user command and is not recommended to use when writting a script for your program. They recommend to use apt-get for that regard since it's very similiar but it has more features. Correct me if I am wrong I don't have the man page on sight when writing this comment.

  • @calielherbertbrazlopes560
    @calielherbertbrazlopes560 3 ปีที่แล้ว

    There's any software to acsess a list of the repository?

  • @davidsalmons80
    @davidsalmons80 4 ปีที่แล้ว

    hey I need help with signing packages in debian 10

  • @LloydLynx
    @LloydLynx 4 ปีที่แล้ว

    What's the fuss about editing sources.list? If something breaks just remove that line. Am I missing something?

  • @random-accessmemory9201
    @random-accessmemory9201 6 ปีที่แล้ว

    What desktop environment is he using?

  • @manojj1544
    @manojj1544 4 ปีที่แล้ว

    It seems it small silly mistake at 2:08 , you don't need root password but your (users) password when using sudo(generally.) BTW nice explanation...keep going.

  • @Vamsibl
    @Vamsibl 6 ปีที่แล้ว +1

    Whenever you type the commands please display the command on the screen anyway nice video

  • @daleh8187
    @daleh8187 5 ปีที่แล้ว +1

    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 up the informative videos

    • @DistroTube
      @DistroTube  5 ปีที่แล้ว +1

      sudo apt update && sudo apt upgrade
      This will update all your programs to the latest version in the repos.
      sudo apt install firefox
      This will install (or reinstall) firefox. If firefox is already on the latest version in your distro's repos, you will get a warning stating "you are already on the latest version".

  • @shater1164
    @shater1164 6 ปีที่แล้ว +1

    FYI : There are some users still using 'apt-get' as it is known as ol' school according to Debian and later on by Unbuntu. I mostly suggest others to use 'apt' instead of 'apt-get' unless 'apt-get' is needed :)

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว +1

      Some probably still use aptitude as well....but most recent versions of Debian and Ubuntu have apt (and apt-get) so this covers most people's needs.

  • @jeremycheatham8811
    @jeremycheatham8811 5 ปีที่แล้ว

    Lulz about the time I get used to apt-get they deprecate it! Then you move to arch and a favorite third party program changes how it installs on it :P

  • @ymi_yugy3133
    @ymi_yugy3133 6 ปีที่แล้ว +1

    how does it compare functionally to pacman or dnf?

    • @DistroTube
      @DistroTube  6 ปีที่แล้ว +1

      Ymi_Yugy All perform similar tasks. The main difference is syntax.

    • @ymi_yugy3133
      @ymi_yugy3133 6 ปีที่แล้ว +1

      That makes it even harder to understand, why every distro seems to have its own package manager. I can understand something like portage. But if they are essentially the same...

  • @techzone2009
    @techzone2009 5 ปีที่แล้ว

    Why they don't update packages frequently???

  • @goktugkaplan3367
    @goktugkaplan3367 4 ปีที่แล้ว

    When you list packages of firefox there are lots of packages can i just choose one randomly are they all safe packages ?(and very nice video i liked it very much i learning ubuntu if you can answer my wuestion i will be happy)

    • @kennethmendenhallii1598
      @kennethmendenhallii1598 4 ปีที่แล้ว

      They will all be safe, but they may not be exactly what you're looking for. Anything available in a package manager, whether graphical or CLI, has been tested and adapted by the team that created your distro.

  • @premier69
    @premier69 6 ปีที่แล้ว +1

    off topic: I really dislike ubuntu. just tried mate because i figured it'd suck the least but nope, so back to Mint Cinnamon. Cinnamon is actually so good I prefer the GUI over Win10. But I also like bungie from solus. the others seem horrible!

  • @Dray7777
    @Dray7777 3 ปีที่แล้ว +1

    please open a lbry channel. Better than You Tube. Decentralised, no adds and crypto tips

    • @robert58
      @robert58 3 ปีที่แล้ว +1

      He already has that

    • @Dray7777
      @Dray7777 3 ปีที่แล้ว

      @@robert58 Please share link. Lbry is great but they could do with a better search function

  • @jimmy999S
    @jimmy999S 6 ปีที่แล้ว +2

    1st