sudo pacman -Scc # Remove packages from cache both installed and not installed
Some people like to automate this task of cleaning the cache with paccache, but personally I would not because it is something that takes around five minutes max to do. However, it is your choice if you want to do so to avoid the trouble of doing it manually. Regardless of whether you choose to do this manually or automatically, I suggest cleaning the cache monthly.
-
+
Removing Orphan Packages
Orphan packages are those installed as dependencies for other software but are no longer needed. For example, when you install LibreWolf, it downloads a package called librewolf-debug as a dependency. Once the installation is complete, librewolf-debug becomes an orphan package because it is no longer used by LibreWolf.
@@ -48,8 +49,8 @@
-
That is all for now, I hope this artical has helped you clean your system.
This has took me a while to write because I have had to double check everything and put it in my own words so I understand it! If there are any issues please with this artical please report it.
Why the terminal will always beat the GUI ๐จโ๐ป
-
Date: 27-08-2024
-
-
I want to say this now, I do not care if people use a GUI option for things, Linux is all about choice and if you choose to use a GUI instead of using the terminal that is your choice!
-
+
Date: 27-08-2024
+
I want to say this now, I do not care if people use a GUI option for things, Linux is all about choice and if you choose to use a GUI instead of using the terminal that is your choice!
1) The Terminal Simplifies Tasks With Fewer Steps:
Using the terminal can be way faster and more straightforward than navigating a GUI. For example, updating your Linux system requires one simple command in the terminal. In contrast, using a GUI software centre involves way more steps: opening the software center, navigating to the update section, and then updating all the programs. The terminal streamlines all of this which makes it way more efficient.
@@ -35,7 +34,7 @@
By learning all of these command-line tools over time, you will start learning how a Linux system works and operates, and this will help you fix any issues that pop up in the future. For example, if you wanted to format a USB stick, while yes, you could use Gnome-disk, it is faster just to use fdisk and mkfs for formatting a USB stick.
For now that is all I have on why terminal is better!
diff --git a/public/articals/linux/media/00cd b/public/articals/linux/media/00cd
index fcb1fc4..9bda2e2 100644
--- a/public/articals/linux/media/00cd
+++ b/public/articals/linux/media/00cd
@@ -1,22 +1,23 @@
-
-
+
+
+
Burning optical media in Linux
-
-
+
+
-
+
How To Format A USB with Linux ๐ฟ
@@ -26,49 +27,49 @@
Warning โ ๏ธ
Once you burn an optical disk you cannot reburn it.
-
Optical media does not have the best storage, normally under 1GiB so make sure your files align with the size of the optical media.
-
-
What you will need ๐
-
-
Optical drive capable of writing to a CD
-
A computer with Linux ๐ง๐ฅ๏ธ
-
The ability to read instructions and to follow them ๐ง
-
-
-
-
Steps to burn ๐ฅ
-
You will only need one program to burn media to a CD; the name of that program is wodim, and it is part of a collection of programs called cdrkit, as in thename ofe this collection of programs that allow you to do a whole variaty of things withopticall media!ย
-
+
Optical media does not have the best storage, normally under 1GiB so make sure your files align with the size of the optical media.
+
+
What you will need ๐
+
+
Optical drive capable of writing to a CD
+
A computer with Linux ๐ง๐ฅ๏ธ
+
The ability to read instructions and to follow them ๐ง
+
+
+
+
Steps to burn ๐ฅ
+
You will only need one program to burn media to a CD; the name of that program is wodim, and it is part of a collection of programs called cdrkit, as in thename ofe this collection of programs that allow you to do a whole variaty of things withopticall media!ย
+
-
1) Install cdrkit, on some Linux distrobutions cdrkit is already installed, but on my main Linux distrobution Arch Linux, it is not so check you have it installed, the package on your distro will most likely be called cdrkit.
-
-
-
sudo pacman -S cdrkit
-
-
+
1) Install cdrkit, on some Linux distrobutions cdrkit is already installed, but on my main Linux distrobution Arch Linux, it is not so check you have it installed, the package on your distro will most likely be called cdrkit.
+
+
+
sudo pacman -S cdrkit
+
+
-
+
-
2) You want to get whatever data you want into an ISO file, so if you had a file called movies that held movies you would use the command.
-
-
mkisofs -o movies.iso movies
-
-
movies.iso being the output ISO and movies being the directory with the movies in there.
+
2) You want to get whatever data you want into an ISO file, so if you had a file called movies that held movies you would use the command.
+
+
mkisofs -o movies.iso movies
+
+
movies.iso being the output ISO and movies being the directory with the movies in there.
-
+
-
3) Now the last command is the actual event of burning the optical media! So insert it into your optical drive and type this command.
-
-
wodim -v dev=/dev/sr0 movies.iso
-
-
movies.iso being the output ISO from the last command.
+
3) Now the last command is the actual event of burning the optical media! So insert it into your optical drive and type this command.
+
+
wodim -v dev=/dev/sr0 movies.iso
+
+
movies.iso being the output ISO from the last command.
-
+
-
4) Now it is time to sit back and wait for it to burn; do not get impatient; give it time, and it will burn. When it is done, you may enject the optical media from the CD drive, and it should have all the files you desire.
-
-
That is all the required steps to burn optical media on Linux, I hope this has helped you!
4) Now it is time to sit back and wait for it to burn; do not get impatient; give it time, and it will burn. When it is done, you may enject the optical media from the CD drive, and it should have all the files you desire.
+
+
That is all the required steps to burn optical media on Linux, I hope this has helped you!
Formatting a USB in Linux is easier then burning an ISO and only needs a few quick commands!
What you will need ๐
-
-
A USB drive
-
A computer with Linux ๐ง๐ฅ
-
The ability to read instructions and to follow them ๐ง
-
+
+
A USB drive
+
A computer with Linux ๐ง๐ฅ
+
The ability to read instructions and to follow them ๐ง
+
-
Formatting the USB
-
1) The first thing you want to do is plug in your USB stick and identify the USB stick's name.
-
-
lsblk
-
-
Normally the USB will be something like sdX; a tip on identifying it is by looking at the size of the USB in the table that lsblk gives you!
+
Formatting the USB
+
1) The first thing you want to do is plug in your USB stick and identify the USB stick's name.
+
+
lsblk
+
+
Normally the USB will be something like sdX; a tip on identifying it is by looking at the size of the USB in the table that lsblk gives you!
-
2) Now you need to use a program called fdisk that will allow you to create a new partition table for the USB, this will format the USB.
-
-
sudo fdisk /dev/sdX
-
-
You will need to press the following keys to make a new partition table for the USB.
-
-
o - Creates a new DOS partition table
-
n - New partition, press enter to all that follows
-
w - Writes the partition table
-
-
Give fdisk a minute to write the new partition to the USB.
+
2) Now you need to use a program called fdisk that will allow you to create a new partition table for the USB, this will format the USB.
+
+
sudo fdisk /dev/sdX
+
+
You will need to press the following keys to make a new partition table for the USB.
+
+
o - Creates a new DOS partition table
+
n - New partition, press enter to all that follows
+
w - Writes the partition table
+
+
Give fdisk a minute to write the new partition to the USB.
3) Now is the time to give that partition a file system. You should look into this beforehand to see what file system you want, but I will use ext4 because it was made for Linux use.
-
-
sudo mkfs.ext4 -L "Backup-USB" /dev/sdXx
-
-
The small x represents the number of the partition; the -L flag is used to give the USB stick a name.
+
+
sudo mkfs.ext4 -L "Backup-USB" /dev/sdXx
+
+
The small x represents the number of the partition; the -L flag is used to give the USB stick a name.
-
Finished โ
-
All done! Now you have an empty USB stick you can use for all your files!
+
Finished โ
+
All done! Now you have an empty USB stick you can use for all your files!
Normally the USB with the lowest amount of storage will be your USB; to make sure, check the size of your USB compared to the devices listed under lsblk.
-
+
5) This command will install Ventoy to the USB. Make sure your USB name is correct; it will be something like sdb. A good way to identify the USB is by running lsblk when the USB is out and then running lsblk while the USB is plugged in.
sudo sh Ventoy2Disk.sh -i /dev/sdX
@@ -65,8 +66,8 @@
After following all of these steps Ventoy should be installed on your USB stick, now the only thing to do is plug the USB in and put the ISO and IMG files into the USB, I hope this has helped you!