Linux Maintenance

Поділитися
Вставка
  • Опубліковано 31 тра 2024
  • I go over Linux Maintenance in this video. You will learn how to clear out cache, clean your package manager, and proper maintenance of Linux.
    -Good Backups - Timeshift or Rsync
    -Bleachbit - sourceforge.net/projects/blea...
    -Clean old Repos
    ==Arch /etc/pacman.conf - wiki.archlinux.org/index.php/...
    ==Ubuntu /etc/apt/sources.list and sources.list.d/
    ==sudo apt autoclean && sudo apt autoremove
    ==Fedora /etc/yum.repos.d/ or /etc/yum.conf
    -Updates
    What you DON'T need to do
    -Defrag - Linux Filesystems don't fragment
    -/tmp folder is auto cleaned
    -There is No Registry to Clean .
    ►► Digital Downloads ➜ www.cttstore.com
    ►► Reddit ➜ / christitustech
    ►► Titus Tech Talk ➜ / titustechtalk
    ►► Twitch ➜ / christitustech
  • Наука та технологія

КОМЕНТАРІ • 322

  • @hjaltiatlason9263
    @hjaltiatlason9263 4 роки тому +114

    Ubuntu users FYI:
    You can freeze any package including kernel packages by:
    example-1:
    sudo apt-mark hold
    example-2:
    sudo apt-mark hold linux-image-generic linux-headers-generic

    • @PenguinRevolution
      @PenguinRevolution 4 роки тому +3

      Same with Vanilla Debian ;). Ohhh and don't use PPAs in Vanilla Debian, they will break you install,= only use PPAs with Ubuntu and it's forks.

    • @matuzaato
      @matuzaato 4 роки тому

      @@PenguinRevolution can you use PPAs in Mint?

    • @PenguinRevolution
      @PenguinRevolution 4 роки тому +2

      @@matuzaato Linux Mint is a direct fork of Ubuntu. So yes you can use ppas in Mint.

    • @stephenhunter70
      @stephenhunter70 4 роки тому +1

      @@PenguinRevolution Are you referring to Arch Linux 32?

    • @PenguinRevolution
      @PenguinRevolution 4 роки тому +4

      @@stephenhunter70 Never mentioned Arch Linux 32. I was talking about debian and Ubuntu

  • @danielmclaughlin5573
    @danielmclaughlin5573 4 роки тому +162

    Quick tip: When you type a command that should have been done with 'sudo' but you forgot it, you can type:
    sudo !!
    This will rerun the last command given under sudo without having to retype the entire command.

    • @mobiousenigma
      @mobiousenigma 4 роки тому

      when i run linux i run as root lol sudo whats that but i also tend to run it as a live session i have learnt sudo su
      though

    • @JKhalaf
      @JKhalaf 4 роки тому +1

      That's pretty sweet! thank you! I didn't know about this.

    • @markusTegelane
      @markusTegelane 4 роки тому +4

      "sudo -s" automatically puts sudo in front of the commands you run. You can just type exit to stop doing that.

    • @ghost101049
      @ghost101049 4 роки тому +1

      I'm newish to linux. "Learn to sudo" is basically just putting sudo in front of the commands you're trying to run correct?

    • @Rahul-fi6kv
      @Rahul-fi6kv 3 роки тому

      @@ghost101049 sudo basically means run as administrator what it does it give you the access to mess with some system files

  • @El.Chef.Guevara
    @El.Chef.Guevara 4 роки тому +24

    I've been running Ubuntu on my main laptop, which I use intensively, for 5 years now. Haven't done anything to it and works perfectly

    • @netronin504
      @netronin504 Рік тому

      switch to mint, thank me later , yes its "ubuntu" minus the input lag

  • @PearComputingDevices
    @PearComputingDevices 4 роки тому +44

    with Bleachbit never run free hard drive space on an SSD! You'll unnecessarily write zeros to your drive, thus wearing it out faster. On the other hand it's extremely handy to do that now and then on mechanical drives.

    • @marconyewtv4477
      @marconyewtv4477 4 роки тому

      Yes never do that on an SSD I prefer Stacey as it is more pleasant to look at and it's more friendly and safer

    • @Tw3akst3r
      @Tw3akst3r 4 роки тому +4

      @@marconyewtv4477 Stacer, not Stacey. right? Genuinely asking as I might install Linux on a laptop soon.

  • @Sierra410
    @Sierra410 4 роки тому +145

    Because of LTT i can't stop reading you channel as "Chris Tech Tips" or "Titus Tech Tips"

    • @ChrisTitusTech
      @ChrisTitusTech  4 роки тому +31

      LTT = UA-cam brand masters! lol.

    • @corey8704
      @corey8704 4 роки тому +18

      At least Chris doesn't drop everything he touches like Linus.

    • @MirekFe
      @MirekFe 4 роки тому

      @@corey8704 Nice. 👍

    • @fittb
      @fittb 4 роки тому +1

      Literally why im here

    • @fuseteam
      @fuseteam 4 роки тому +9

      "Titus Tech Tips" +2
      then we can call him "Triple T"

  • @cimbakahn
    @cimbakahn 3 роки тому +1

    Chris Titus Tech: Chris. Just a tip. I was always told to never stop bleachbit when it is in the process of cleaning. That you must let it finish or you will have problems.

  • @spaceforrest
    @spaceforrest 4 роки тому

    You do the best tutorials Chris! Clear instructions, reasons why you're doing stuff, great explaintions and poiniant tips. But best of all is your smooth delivery and non-intimdatng predisposition. Love your work mate, it gets me pumped about the future of the world. Thank you kind sir. 👍💯

  • @michadybczak4862
    @michadybczak4862 4 роки тому +19

    Ah, you forgot to add that on Arch-based system we also need to:
    - clean pacman cache (all downloaded packages are stored there and taking space)
    - uninstalled orphaned packages or packages that were removed from the repo (and we cannot do that blindly, because it often happens that packages are marked as orphaned mistakingly)
    - update our configs with pacnew files, this is a manual intervention that is needed to be done once in a while
    - update git packages if you have any - they rarely show as an update and this is usually a manual action, although there are commands that can mass update git packages

  • @timothyt.82
    @timothyt.82 7 місяців тому +1

    If you use the APT package manager, I would recommend using nala to upgrade your packages. It's meant to be more user friendly, has a cleaner terminal output, and automatically does certain things for you (autoremoves/autopurges files that are dependencies no longer needed, automatically updates the source list before upgrading so you only need to run sudo nala upgrade, etc.). You also aren't replacing apt, so you can still go in and run maintenance scripts without needing to rewrite them first.
    Of course, the apt command family is going to be your de-facto option for more advanced operations, but with nala upgrading is simple and enjoyable.

  • @MrHRScrc
    @MrHRScrc 4 роки тому +6

    Thank you very much Chris, very handy for all new people in the Linux world. Nice video. Have a nice day!

  • @matthewwebster3341
    @matthewwebster3341 4 роки тому

    Greetings, I have been transitioning to Linux exclusively for a few months now. This video has been very helpful. This and your other videos have been very helpful. Ciao!

  • @ivailogeimara
    @ivailogeimara 4 роки тому +16

    One correction: 'apt-get autoremove' removes packages that are no longer needed i.e. packages that were installed as dependencies for another packages that were removed and these packages were left of and are no longer needed. On Arch there is no such command. You'd have to combine 2 commands: 'pacman -Qdtq' which gives you the packages that are no longer needed and remove them with 'pacman -Rsn' or combine them into 1 command: 'pacman -Rsn $(pacman -Qdtq)'.
    Also if you use Arch it's probably a good idea to remove packages with 'pacman -Rsn' which removes packages that were installed as dependencies for the package you remove and are not needed by another package and also remove their config files in /etc, instead of 'pacman -R'.

    • @heyyitsultima
      @heyyitsultima 4 роки тому +3

      I would say, be careful with what you remove with pacman -Rsn as it is entirely possible to accidentally get cross-dependencies and end up removing something that you actually NEED on your system.
      Source: I've done this by installing a Gnome tool, not thinking about it before issuing the command, and wiped out my entire DE including my network manager, so I had to fix it from a chroot.

  • @ajrhodes3262
    @ajrhodes3262 4 роки тому

    I’ve been watching your videos recently and they are awesome!! Keep up the good work!!

  • @hsoj9550
    @hsoj9550 4 роки тому +1

    Great tips! Definitely love information like this for cleaning out old junk that builds up over time.

  • @chrisbannister1684
    @chrisbannister1684 4 роки тому +23

    Note the difference between 'update' and 'upgrade'.

    • @stephenvsawyer
      @stephenvsawyer 3 роки тому

      Arch is great. Just type “yay” and you’re done.

  • @0cgw
    @0cgw 4 роки тому +4

    I find it easier to manage the repositories from synaptic (for a debian system). Just pull down the menu and tick/untick the repositories you have, you can also add new repositories and delete old ones. If you want to remove a package it will show you what else you would need to remove at the same time. There's really no need to edit /etc/apt/sources.list directly.
    I also almost never reboot after an upgrade, if there are new graphics drivers, I tend to just kill Xorg and that does the job.

  • @corrosionoc69
    @corrosionoc69 4 роки тому +7

    I love conky. It's one of my favorite add on apps. I love configuring it lol. It can be an insanely useful tool for monitoring your system...and it looks cool.

  • @AnzanHoshinRoshi
    @AnzanHoshinRoshi 4 роки тому +3

    Thank you, Chris. I love apt.

  • @yehonatan2020
    @yehonatan2020 4 роки тому +5

    Stacer is a really nice system cleaner worth trying out. Then there is Sweeper, Deborphan and Debfoster

  • @deanlawson6880
    @deanlawson6880 4 роки тому

    Great video! Thanks for the tips and tricks Chris!! Nicely Done!!

  • @winlen4731
    @winlen4731 4 роки тому +1

    Great video, really useful information on keeping Linux running smoothly. Thanks Chris

  • @davidvantongerloo1907
    @davidvantongerloo1907 4 роки тому +1

    allmost weekend, nice video chris....

  • @williamtackett3814
    @williamtackett3814 3 роки тому +2

    Subbed. Just starting my linux journey. Years late I might add. Lol. I want to move my family over from windows and Microsoft.

  • @World_Theory
    @World_Theory 4 роки тому +16

    That's really neat. I didn't know that you can keep Linux running indefinitely without a reboot. It's kinda ingrained into me that a computer is going to need a reboot eventually, because of memory leaking or whatever. That's mighty impressive!

    • @ChrisTitusTech
      @ChrisTitusTech  4 роки тому +11

      Yeah I hear you! I still reboot often because I change tons of things, but yeah... It is not unheard of that many closed systems like elevators, electronic posters, etc... have run linux on a battery backup for 10+ years.

    • @droid8613
      @droid8613 4 роки тому

      I like when ubuntu requires reboots! Not my

    • @OldieBugger
      @OldieBugger 4 роки тому +4

      Yea, I know it can be run indefinitely but I still shut down my computer every evening to control my electricity costs, just like I turn off all lights when I go to sleep.

    • @casperes0912
      @casperes0912 4 роки тому

      I’ve had macOS with an uptime of nearly three months as well. Memory leaks can happen in software, but especially in the OS it should only be in corner cases. If it’s not in the OS, the OS should be able to clean it up when the offending app is quit.

    • @mdtaylor2274
      @mdtaylor2274 4 роки тому

      @@ChrisTitusTech I've just started using Ubuntu and I'm new to Linux. Love your channel. I've noticed that every time I reboot, especially shutdown, I get the black screen and there's a lot of broken code running across the screen. Then it shuts down or reboots. Goes by really fast and bothers the crap out of me. Is this an issue with the bootloader? Any ideas?

  • @yvrelna
    @yvrelna 4 роки тому +2

    I don't recommend doing most of these except verifying your backups, installing updates, and removing no longer needed and orphaned packages (dependencies of older version of packages that are now no longer needed).
    Especially that thing you do with Bleachbit or similar tool is going to cause more problems than it solves. Unless you have a particular problem with a specific application, you generally shouldn't micromanage these cache files. It won't make your system any faster, and more likely than not it will just slow down programs and cause data corruptions.
    In low disk system, it may be worthwhile to clean the package managers' download caches, but if you aren't running low on disk space, you don't need to worry about it.
    One maintenance that I recommend that hasn't been mentioned, if you're using Ubuntu-based system on btrfs system, you may need to remove the automatically created btrfs snapshot that apt created before a major system upgrade. Once you've confirmed the upgrade is successful and you decided you likely won't be rolling back, you can just delete the snapshot using btrfs tools. apt won't remove them automatically, and these snapshots take up quite a lot of disk space (and because of copy on write, they'll take even more space the longer you keep them).

    • @1pcfred
      @1pcfred 4 роки тому

      Yeah once in a while I'll just see how much storage space I have left. Linux can get loopy if you get up to 90% full. Up to then no worries though. Right now my root partition is at 32% so no problem there. If I get up around 80% I'll think about maybe ditching something then. Or I'll just get more storage space. Probably the latter knowing me.

  • @kalijasin
    @kalijasin 3 роки тому

    BleachBit is an excellent program. I didn't know I could do a sudo bleachbit though. Thanks Chris.

  • @philippecardin1109
    @philippecardin1109 4 роки тому

    I'm currently doing a personal experiment with my Manjaro KDE system. After a couple of update breaking (that i restored with Timeshift), i decided to completly stop doing any updates whatsoever. That was back in May of this year. So far everything i have installed back then work fine. I did install one or two other programs that work fine, but some others i could not because the dependancies are not up to date. I have another system on another SSD, Pop Os, that is up to date and can utilize for whatever reason. But in conclusion, my Manjaro still works like a charm and i use it every day as my main system!

  • @user-jp7tw3sd3x
    @user-jp7tw3sd3x 4 роки тому

    In addition to `apt autoremove` I do recommend running `apt-get auto-clean`. It looks like `apt` likes to hoard every downloaded package and that could easily get over gigabytes. I had switched to 'testing' that had regular updates. It has gotten around 8GB of cache... on my 32GB sdcard. To empty the whole cache you can do `apt-get clean`, this however would remove the archives of the currently installed packages too.

  • @NbKXStorm
    @NbKXStorm 4 роки тому +5

    That is an amazing UI, and configuration that you have going on there, any insight to what all you have installed on there for that?

  • @andyl.3567
    @andyl.3567 4 роки тому +1

    I like your videos, man! Based on your teachings, I finally decided to get rid of Windows ...

  • @mg42sd
    @mg42sd 4 роки тому +17

    3:23
    I see Your transparency effects are grainy. I suggest changing composer from OpenGL 3 to OpenGL 2. It helped in my case.
    Best wishes ;)

  • @dreamers_descent
    @dreamers_descent 4 роки тому +1

    Awesome video man, this is the kind of stuff I'd love to refer to people who are just getting started with Linux. I would also add `htop` to the list too as for me it stands in place of windows task manager. Love the channel. :)

    • @coon-si3ce
      @coon-si3ce 4 роки тому

      I find that top is a bit easier to uses and easier for a new guy to figure out.

  • @CPT101
    @CPT101 4 роки тому

    Alright. Needed this. Nice Video Chris

  • @ezequielortiz4188
    @ezequielortiz4188 4 роки тому

    Thanks Chris for warning users about doing a backup before purging packages, purging packages is a very dangerous operation, you can mess up your system beyond recognition.

  • @Mitsunee_
    @Mitsunee_ 4 роки тому

    Ironically one of the things I learned from this video is the package name for kcharselect. I really badly needed a program like this and Kubuntu didn't ship with it. Also tried bleachbit and got 20GB of space back, which is great :3

  • @toavnwub
    @toavnwub 4 роки тому

    exactly what I needed, thank you very much man! :D

  • @yuriykazmirchuk9641
    @yuriykazmirchuk9641 4 роки тому

    Thank you very much for the video!

  • @user-yf8il6we2z
    @user-yf8il6we2z 4 роки тому

    There is defrag for ext4 and xfs. Run e4defrag -c /location/ to check your non ssd drive for fragmentation.

  • @derekr54
    @derekr54 4 роки тому

    Very interesting and informative.

  • @wilhelmsarasalo3546
    @wilhelmsarasalo3546 4 роки тому

    Many of my users are running my software on Win 2000 still. No maintenance required, but using very few Windows facilities. POS/Inventory and such. Linux is better, but less familiar and has fewer available third party programs. In Windows, I wrote my own scheduler as I did not trust the one that came with it. This can be done. There is push back on Linux desktops. Linux servers are well received, is my experience.

  • @max03tube
    @max03tube 4 роки тому

    I use Discover and Synaptic Package Manager to uninstall broken PPA and residual config. Also with the autoclean, autoremove commands. However I'm reluctant to use Bleachbit, had problem with it in the past.

  • @shanebagel
    @shanebagel 3 роки тому

    BLESS YOU CHRIS

  • @DavidIstre
    @DavidIstre 4 роки тому

    I love your videos, but as a brand new user, it would help me if you slowed down just a little bit and included a few explanations of some of your terms. Otherwise, you have been a lifesaver for me!

  • @JeffM---
    @JeffM--- 4 роки тому +1

    On the linuxmint forums, they warn that bleachbit is bad, that it can break your system, and that you shouldn't use it. I have used it for a while and I have had no problems.

  •  4 роки тому +8

    6:18 and 12:43 when you forget "sudo" in front of a command, you can look 110% more cool if you run "sudo !!". It's a proven scientific fact.

    •  4 роки тому +1

      @callam85 Ladies like men who use "sudo !!". You're just jealous.

    • @jadosrd8950
      @jadosrd8950 4 роки тому +2

      callam85 depends on the shell. Standard bash logs “sudo !!” as the full command string

  • @PenguinRevolution
    @PenguinRevolution 4 роки тому +1

    Chris I believe Fedora uses DNF package manager instead of YUM, REL/CentOS still uses YUM for the moment but with REL 8 I believe they will ship it with DNF. Also to complete the update you need to run sudo apt upgrade.

    • @JohnMiller-mmuldoor
      @JohnMiller-mmuldoor 4 роки тому +1

      Penguin Revolution Yeah I was about to mention the same thing

    • @PenguinRevolution
      @PenguinRevolution 4 роки тому

      @@JohnMiller-mmuldoor A lot of people get that mixed up these days (I do it sometimes too) The only reason REL doesn't use DNF is because Red hat hasn't had a major feature update since DNF was released. and REL and CentOS also provide you with a path to replace YUM with DNF if you so choose, however most people don't and in my opinion if you do use REL or CentOS then it's not worth switching it out until the next major release comes out, YUM works just fine.

  • @yann_j
    @yann_j 4 роки тому +1

    Hey Chris, nice video as always! Could you make a more thorough arch install video sometime in the future? :)

    • @yann_j
      @yann_j 4 роки тому

      @@rdangdev UEFI

  • @HikariKnight
    @HikariKnight 4 роки тому +1

    Just to expand on the no need "no need to defragment" part on linux.
    The reason linux and most unix/bsd filesystems do "not need" defragmenting is because they leave more space between files to allow them to grow on the block level unlike ntfs which uses the immediate space (pretty much) after a file is done being written so any newer data for the file has to be written elsewere and a reference pointer is added to the end of the old data ("continues at XYZ") rinse and repeat, however you can run into situations where defragmenting the filesystem will be needed, however it is done in the background and a manual run might only be needed when the disk is close to being almost full (which in most cases will be rare)
    so yes you dont need to defragment your system like you have to do on windows unless your disk is pretty full before you will need to do a manual run (we talking maybe 80-90% full)
    before that, all defragmenting is done as needed in the background without you noticing any impact from it but you have to go over 50% disk space used by average before defragmenting is even done in many cases, as no files will be fragmented (for the most part) before that limit is reached.

    • @jadosrd8950
      @jadosrd8950 4 роки тому

      HikariKnight keep in mind that SSDs should never, ever be defragged. Not only does it waste lifespan, but if the controller is cheap you can brick the drive.

    • @KaiKrakow
      @KaiKrakow 4 роки тому

      @@jadosrd8950 If this ["brick the drive"] would be true, any IO access pattern could brick your drive: You should just not (and don't want to) use such drives. There are applications where "defragging" an SSD can make sense but that needs special defraggers that care about reducing IOPS for your specialized application and not moving files around as most classical defraggers do (moving files around is pointless on SSD, and introduces additional write load). But "never ever" is also: Your SSD wouldn't just die the next day just because you defragged it yesterday. It lost maybe 0.5% of it's life span, on modern drives probably even less. The bigger the drive, the less prone it is to this problem: Bigger SSDs have a exponentially longer live span for non-suitable write patterns.

    • @jadosrd8950
      @jadosrd8950 4 роки тому

      Kai Krakow again back to the controller chip. A good, or even half decent, chip can withstand defragging, but it also makes it a moot point as THAT IS it’s JOB to read/write a bunch of scattered data as if it were in one chunk. A bad controller, and Im mainly talking $10 Ali junk here, has been shown multiple times to not “keep up” with knowing where data is and subsequently “losing” important data (Windows files).

    • @KaiKrakow
      @KaiKrakow 4 роки тому

      @@jadosrd8950 Yep, that's probably the type of controller you don't want to trust your data - no matter if you defragment or not.

  • @anant6778
    @anant6778 3 роки тому

    bleachbit is an underrated lifesaver

  • @SoulRollerFIN
    @SoulRollerFIN 4 роки тому

    Had to clean the cache every couple months or the root partition would fill up and I couldn't update my Arch. Started to annoy me, so decided to mess around in package manager and keep less copies/versions. Now it''s fine.

  • @MrBrownboygaming
    @MrBrownboygaming 4 роки тому

    This is very helpful

  • @gwgux
    @gwgux 4 роки тому

    You should also keep an eye on cron. Make sure nothing got put into your (or root's) crontab and remove old cron jobs that you don't need anymore.

  • @frackkremlin6715
    @frackkremlin6715 4 роки тому

    should do a: when i upgrade to a new major change distro version. Something i noticed when upgrading from pop os 19 to 20 it broke alot of app installs. i use alot of different tools to install: pop shop, apt, flatpak, snap, chocolatey. it can really mess things up appwise.

  • @OldieBugger
    @OldieBugger 4 роки тому +7

    WHAT!?! Zero playtime on World of Warcraft? Have you noticed, the WoW Classic has just been released?

  • @Supervideo1491
    @Supervideo1491 4 роки тому

    Hi Chris!
    What do you think about coreboot and its variants? Have you ever tried installing it?

  • @VincentThePhotog
    @VincentThePhotog 4 роки тому

    Great video! I'm sure you may have said before, but I'd like to know what desktop environment you're using on this machine. It looks great.

  • @dim3nt0
    @dim3nt0 4 роки тому

    i am on mint and like how that desktop/menus look, i wanna try it my self :) any pointers on package names, icons etc what do i need

  • @abhiramshibu
    @abhiramshibu 4 роки тому

    apt autoremove in some case may remove critical stuff. Its basically all packages with no deps.

  • @mobiousenigma
    @mobiousenigma 4 роки тому

    im relativity new to the linux world , but i believe my pc experience carries through .. for clarification i remember when Microsoft released there first operating system and have used cpu's measured in hertz not kilohertz or even gigahertz! and ram was measured in k's so i believe that dates my usage experience. from my experience all os;s degrade with user input.. all os;s have recommended maintenance.. all will sorta fix the issues and take time... installation of every os ive ever done takes around an hour solving cleaning and troubleshooting always takes longer,, having an archive of all drivers and software installed says if data is saved to non stand locations a full install of the os and software is less effort and time than "maintenance" ever was and has far better results for me anyways mileage may vary

  • @HansPiita
    @HansPiita 4 роки тому +1

    I had to fsck? After sometime of use, I told followed info i found on the net, can you explain what that is and how i can not have to do it in future

  • @fuseteam
    @fuseteam 4 роки тому +2

    old habits die hard, no reboots neccesary :p
    just need to figure out what needs to be restarted xD

  • @stanyorgov7691
    @stanyorgov7691 4 роки тому +1

    Hey, nice video, man, but I saw you play minecraft over lutris. Minceraft has native Linux suppor, you should try it

  • @laskaofalaska
    @laskaofalaska 3 роки тому

    Hey Chris. Just noticed that this video is from 2019. Can you make an updated version of this? Like maybe there's something new or noteworthy that you can show us in 2020. Thanks!

  • @JKhalaf
    @JKhalaf 4 роки тому

    Chris, how did you reboot your machine whilst recording the video?

  • @diortemrepus5729
    @diortemrepus5729 4 роки тому

    For Fedora 31 you will want to run the following in the terminal prior to launching bleachbit once installed:
    sudo dnf install python2-gobject -y
    It works fine once you do this. This is from their News segment on their site (link: www.bleachbit.org/news/bleachbit-30). Enjoy!

  • @grampawwillie1665
    @grampawwillie1665 4 роки тому

    I like to run straight Debian. maintenance is via the apt command and this seems simple enough

  • @jalpa9642
    @jalpa9642 Рік тому

    Chris... I'm running MX-Linux on a DELL Latitude 6520. In this Video I was following you in the terminal to update Repositories, I did the "sudo pacman - Syu" command, Terminal said pacman command not found..! I then went to Synaptic Package Manager and looked for it, it's not installed but all files referred to "PACMAN" the Game.. where your pacman eats all the dots...! Later in the video you mentioned pacman, Package Manager..? I tried that and it doesn't work either, so what can I use...? Thanks in advance..! =)

  • @jefferson_santana
    @jefferson_santana 4 роки тому

    Bom vídeo. :)

  • @dipi71
    @dipi71 4 роки тому +6

    This video is missing out on handling RPM-based systems like openSUSE.

  • @birdmun
    @birdmun 4 роки тому

    One question, you know sudo !! will run the previous command as sudo?

  • @aristotelispapageorgiou4627
    @aristotelispapageorgiou4627 4 роки тому

    Chris, when will you learn to use "sudo !!" ?

  • @hanro50
    @hanro50 4 роки тому +2

    Timeshift rescued my main Linux install yesterday...

    • @coolbeans6148
      @coolbeans6148 4 роки тому

      Do people like me need time shift? I just browse the internet and occasionally game

  • @frag_stone
    @frag_stone 4 роки тому +1

    Fragmentation/defragmentation is possible on ext filesystem ;)

    • @alexstone691
      @alexstone691 4 роки тому +1

      But usually not required

    • @adamn.4111
      @adamn.4111 4 роки тому

      From what I understand, most Linux filesystems defrag silently in the background while the filesystem is being used. Fragmentation can still build up over time, but it takes years of constant use for it to reach any significant level. I use XFS on all my drives, and once in a while I'll run 'xfs_fsr', but not very often.

  • @camb546
    @camb546 4 роки тому +2

    Makes me wonder why Microsoft just doesn't create their own distro like RedHat. I mean the biggest thing is software, but if they created it alongside windows, then use something like a .NET virtualized container, while supporting developers that create main ports to their vision of a linux OS. I mean powershell and windows server is a huge hurdle to overcome, if they were to do that, because powershell is object oriented and linux is textual. Windows Server has implementations all over enterprise environments. So actually fundamentally changing Windows may be too volatile for them.

  • @sytzebuz
    @sytzebuz 4 роки тому +21

    "FAT is event worse...". MS has just open sourced the exFAX spec and is supporting exFAT being added to the Linux Kernel. Let's see if MS will pull this off. I think they will.

    • @stephenhunter70
      @stephenhunter70 4 роки тому +2

      Why would we want it! And why add it again?

    • @Alex11223l2
      @Alex11223l2 4 роки тому +3

      @@stephenhunter70 it's used on many external drives. Nobody is using it for the system drive even in Windows.

    • @stephenhunter70
      @stephenhunter70 4 роки тому +2

      @@Alex11223l2 Exactly, I rest my case.

    • @ancapftw9113
      @ancapftw9113 4 роки тому

      @@stephenhunter70 my external SSD uses it, so I can't use it on my Pi.

    • @arashkmahshidfar7780
      @arashkmahshidfar7780 4 роки тому +1

      It's gonna add support so they are not going to switch the linux file system. You can just use it without formats.

  • @dallase1
    @dallase1 4 роки тому +1

    Many People duel boot so they will be using NTFS.
    Timeshift is not compatible with Linux Ubuntu MATE, at least not on my PC because it screwed up my system and broke it when I did a restore.

  • @flowinnature8235
    @flowinnature8235 4 роки тому

    Hi
    I’m on Mint, i formatted an old hard drive to ext4, mounted it but was unable to write on it and had to revert to ntfs to be able to put files on it.
    Why did this happened?
    Thanks in advance

  • @OldieBugger
    @OldieBugger 4 роки тому

    I am not very fond of command-line. I am not afraid of it, I just use GUIs whenever available. Call me lazy if you like. I used Mint Software Manager to install Bleachbit. So, let's continue with the video.

  • @klikinfotech7731
    @klikinfotech7731 4 роки тому

    i am very new to linux, could you plesae make videos on doing the same thing in GUI instead of CUI

  • @peterjansen4826
    @peterjansen4826 4 роки тому +1

    Chris, what did you use as FPS-counter while running Minecraft?

    • @ChrisTitusTech
      @ChrisTitusTech  4 роки тому +1

      Peter, I just used the built-in game FPS counter.

    • @peterjansen4826
      @peterjansen4826 4 роки тому

      @@ChrisTitusTech
      I never played Minecraft.

  • @ilsirent9726
    @ilsirent9726 4 роки тому

    I don't know anything about btrfs, zfs and HAMMER, but it appears to me that there is some performance increase after defragmentation a ext4 volume. Ubuntu even comes with e4defrag utility preinstalled. Here is the article I am referring to:
    www.linuxsecrets.com/kdocs/ols/2007/ols2007v2-pages-179-186.pdf

  • @markusTegelane
    @markusTegelane 4 роки тому

    Linux systems can get fragmented if you have very little disk space, but otherwise it almost never happens in ext4 (which is the defacto fs on most distros)

    • @casperes0912
      @casperes0912 4 роки тому

      Well it still happens with a lot of disk space actually. It’s just that it doesn’t happen for long, because when the disk isn’t super active it’ll reallocate things (pretty quickly) to fix it itself

  • @peterkarlsson1825
    @peterkarlsson1825 4 роки тому

    uCareSystem is great tool for Debian based systems.

  • @kronusexodues7283
    @kronusexodues7283 4 роки тому

    too bad, the one thing I hoped for wasn't there. :/
    I uninstalled some programs and afterwards still found their configs in home. I hoped you'd show a quick way to remove configs and other files for programs that are nolonger installed.

  • @uma9183
    @uma9183 4 роки тому

    I need your help; How to remove old kernels packages and fast up my fedora 29 ????

  • @JamesReporting
    @JamesReporting 2 роки тому

    How do you safely clear out the log directory that always fills quick from /var/log?? ;)

  • @daveprice9128
    @daveprice9128 4 роки тому

    Could you give me an educated guess on how much space time shift needs?

  • @timurtheterrible4062
    @timurtheterrible4062 3 роки тому

    9:59 What is that otter thing? I have seen it a few times online but I can't find it for the life of me.

  • @michadybczak4862
    @michadybczak4862 4 роки тому +2

    Bleachbit is too aggressive and too complex for an average user. I thought I know what I was doing but after some time I discovered some small breakages, lack of data that most probably was "cleaned" by bleachbit and I was very, very careful and set only most general and basic cleanup and yet it was still too invasive.

    • @mdtaylor2274
      @mdtaylor2274 4 роки тому

      @BlackWorm trying to find that but don't see it. Can you please share the link mate?

  • @jyper4892
    @jyper4892 4 роки тому

    Hi Chris, which Linux distro you use

  • @KaiKrakow
    @KaiKrakow 4 роки тому +3

    Oh come on, Chris... I'm a fan of Linux, too. And I don't like Windows for a lot of the same reasons as you. But saying, that NTFS is just a slightly improved FAT file system is just technically wrong. In fact, NTFS is an extent-based FS just like ext4, and it has a journal similar to ext4, maybe better compared to XFS. And what's also not true is that defragmentation is needed in NTFS and not in "Linux". In fact, neither needs defragmentation, both do - thanks to extents - a pretty good job of keeping fragmentation low, as long as you don't fill your drive too much or have some very strange file access patterns. Classical defragmenters are mostly useless. What should be done, tho, is using an advanced optimizer which puts your files back into a better location (i.e. "MyDefrag" can do this, and even the Windows-integrated defragger does this in some manner). Why is it needed? Because Windows Update messes with the optimal placement of your DLLs a lot, this slows booting and application starts a lot over time. This is not a fragmentation issue, it's a file placement issue. And guess what: Linux suffers the same problem, constant updates mess a lot with file placement over time. This is why there exist boot-time read-ahead programs, and boot-time file location optimizers (i.e., I think e4defrag can do this). BTW: File location optimization is not needed on SSDs, just do not care about this when you're on SSD.
    But still, Windows can suck a lot more when it comes to hard disk IO, and this is mostly not due to fragmentation. This is because Linux has quite a good IO scheduler, while Windows mostly doesn't (it's a very simple one and doesn't care much about fairness, it just looks at which processes are interactive and which are not, I think). In fact, MS thinks this is not a problem the OS should solve because you can either use SSDs or advanced RAID controllers that do it for you. But again, this is not a FAT vs. NTFS vs. Linux file systems problem, it's an issue baked (or not-so-baked) into the OS itself.

    • @hanro50
      @hanro50 4 роки тому

      Yea, the IO scheduler in MS Windows is in desperate need of an overhaul.
      Since anti-viruses just seem to take top priority... which just seems to kill performance...

    • @arnox4554
      @arnox4554 4 роки тому

      THANK YOU. NTFS has been around a long ass time and it's been far and away better than FAT32 for a long ass time. This seems to be a common theme among Linux users. They think the FS Windows uses is this slow outdated file system when it's actually incredibly competent and has been steadily updated for years now.

    • @hanro50
      @hanro50 4 роки тому

      @@arnox4554
      The drivers available for Linux to mount NTFS partitions are terrible and combined with the IO issue in Windows. It creates the perception to Linux users that overall, NTFS is terrible.
      The NTFS drivers are terrible as they have to essentially be created with reverse engineering and little to no external or, it seems, internal documentation is available to the public or appears to exist at all on how exactly the NTFS works under the hood.

    • @arnox4554
      @arnox4554 4 роки тому +1

      @@hanro50 Yeah, that's what I was suspecting too. I think ext4 also suffers though under Windows? I'm not sure, but it really looks like if it's not native ext4 or native NTFS, the performance goes down the toilet.

    • @KaiKrakow
      @KaiKrakow 4 роки тому

      @@arnox4554 I think it comes down to a simple fact: The IO layer of Windows is designed much around the design of NTFS, the single file system of Windows (in terms of "as the system drive"). That may have some advantages compared to Linux which has a lot of filesystems. So it's probably expected that any non-native filesystem will perform exceptionally bad in a lot of corner cases. But that may also be true for native filesystems, i.e. I'm using btrfs and I like it a lot for different reasons. It's not exceptionally fast because it's copy-on-write. This is not my issue, you can observe the same problem with ReFS in Windows. But let's look at btrfs integration: It's not a traditional block-based file system as, e.g., ext4, it behaves more like NFS (yes, not NTFS, I mean the network file system). Why is that? Well, there's not a direct mapping from the block device to the FS, that makes it a virtual file system with virtual block devices: If you mount a btrfs, the device file acts more like a network address than a block device because btrfs supports sub-volumes and multiple devices. That means, as for any virtual file system (aka not mapped to a block device) that we have unstable st_dev and st_inode members in the stat syscall: Across reboots, the returned values may change. It's only stable for the duration of the mount. This can confuse a lot of software, i.e. baloo in KDE or backup programs that detect differences by values returned from stat syscall. What could we say? The virtual filesystem layer in Linux wasn't designed around the idea of having a non-1:1 mapping between block devices and filesystem. That's the kind of design I'm talking about. I'm pretty sure the IO scheduler of Windows has a lot of assumptions and design choices build around NTFS implementation details. That allows it to be much simpler while at the same time being not too bad. But there's room for improvements on both sides.
      So it's not a question of which FS is better, it's a question of integration and design. NTFS was made for Windows, it's not a POSIX filesystem. Ext4 was not made for Windows, it's made for the Linux VFS design. I found NTFS to be incredibly stable in Windows (given the right underlying storage layer), be it performance or reliability. I cannot actually say the same for ext4 in Linux (tho, my experience is some years old for this), I found XFS to perform way better. Also, NTFS has gained a lot of features that Linux filesystems are still missing: Online hot spot repair (repaired while running without requiring a full chkdsk scan), offline hot spot repair (for what can't be fixed online but also without full scan so it's fast and silent), volume snapshots... Btrfs tries to do something similar but approaches the problem from a different direction (similar to ZFS). ReFS has integrated multi-tier support (you could achieve similar results with bcache + btrfs, and bcachefs is on the way to integrate something similar). There's a lot of exciting stuff going on currently, and in this regard, ext4 is just from the stone-ages (but also "rock solid", haha, stone, rock, you get it?), it hasn't gained the same amount of feature improvements than NTFS although they seem to be based off the same ideas and were designed at around the same time, I think.
      So, let's conclude: What is good and what is crap is mainly a question of expectations. Even fat32 can be totally perfect for your application. But almost always something may become crappy if used in the wrong way. From this perspective: ext4 is quite crappy for most of my applications.

  • @trektn
    @trektn 4 роки тому

    It might be time to do pacman -Syu

  • @haytham-medhaytham6844
    @haytham-medhaytham6844 3 роки тому

    I have a problem that makes me reboot, which's random sudden lasting CPU spikes, once CPU goes crazy, only way to fix's a reboot.

  • @lsatenstein
    @lsatenstein 4 роки тому

    Some Linux hardware h has to be defragged. SSDs and M.2 drives need periodic trimming. This is usually scheduled by Linux on a regular basis such as "every 200 hrs of use, or after xxx gigs have been written. Same requirement for Windows systems.
    Eventually, the SSD bios will have an extension to where the SSD itself, without Linux, will do its own trim.

  • @1pcfred
    @1pcfred 4 роки тому

    I guess I'm just lazy because I don't do any of this. I just run aptitude update;aptitude safe-upgrade occasionally. As long as I'm not running out of disk space I never bother uninstalling anything. I'll make sure nonsense processes aren't running. But I could care less what's wasting disk space. I got plenty of that. So maybe you can do a video about how you examine running processes? pstree is cool.

  • @rogereisnaugle6012
    @rogereisnaugle6012 4 роки тому

    Since windows 93, people have complained about buggy op systems. It looks like if as much effort was put into Linux, it would be perfect by now.

  • @SirBaron52
    @SirBaron52 4 роки тому

    What command do you use in Deepin

  • @OverAndOverAndOver
    @OverAndOverAndOver 4 роки тому

    Are you running Cinnamon desktop? (P.S., you should leave your package list from your main machine in the description)
    Edit: It looks more like KDE, but still could be Cinnamon

  • @abdullahalmasri612
    @abdullahalmasri612 4 роки тому

    have been updating arch everyday without reading shit in the last 3 months, i'm surprised i didn't break it...yet :D

  • @BarafuAlbino
    @BarafuAlbino 4 роки тому +3

    In my experience, "sudo bleachbit" and "sudo rm -rf /" are similar in effect.