How to install Tar.gz and Tar.bz2 packages on Ubuntu Linux – step by step
In case you are using the Linux operating system for the first time or relatively recently, you should definitely find a few files with extensions that you have never seen before, which can cause confusion, especially if you are used to files in Linux that are .de or .rpm.
But there are many other files that are already compressed like tar.gz so that you will have a better idea of this, I’ll tell you what’s going on. When we intend to install an application through its source code, we usually download the tar.gz package, which contains the entire project, and we need to install or run the program from there.
Doing it this way can be tedious work for some users, so in Ubunlog we want to make a little guide on how to install tar.gz or a program from its source code so that it doesn’t get all that complicated that way.
When we talk about any free program in Ubunlog, we always mention its GitHub repository. In most cases, these programs are either already added or in the official Ubuntu repositories or other known repositories.
Well, for starters, tar.gz is the equivalent of a log file, it’s tar.gz, but if the file format is .tar. Not only is it a file type, but it also refers to the standard file manipulation program, but doesn’t cover what the compression would be.
This format was designed to store files on magnetic tapes, which is why it is called tar, which means “tape archiver”. The advantage of this format is that it is already prepared for linear processing, so you won’t need to extract it and find it, go through the entire file.
Tar files contain streams that are not compressed from their files, various programs are used to achieve compression. The modified file will be named tar with a suffix added to it, if using gzip the file will be named tar. gz.
A simple way to compress a file with a makefile
To compress the first thing you need to do is access the folder where the file is located with the command: cd folder where the file is located You will only use this command if the folder has one word but if it has several, you will have to use the command: cd “folder where the file is located”.
Then you will unpack the required file, to be able to do this you have to put the following command: tar –zxvf filename.tar.gz. The next thing you need to do is configure it with the command: ./configure
Then you will have to compile it by typing make and finally, you are going to type make install. There may be occasions when you do not need to configure, so just enter the name of the program in the terminal.
How to quickly unpack and install tar gz
It will be a long but simple procedure to install tar gz just follow all the steps in front of you and while it will be laborious it won’t be complicated as you will be explained step by step how to carry out the process.
The first step is to unpack the downloaded file. For example, if we downloaded ubunlog.tar.gz, we can unpack it as follows:
tar -zxvf ubunlog.tar.gz
Normally we will unpack a directory with the same name as tar.gz which will contain the whole project. The next step is of course access to this directory, in our case via:
Well, now there is an important thing. Most programs have a special program called Makefile. This program ensures that you can compile the project completely or modularly depending on how the developer wrote it.
The Makefile help is tremendously big because if there was no such program we would have to compile ALL files one by one which would be very tedious. This way we can compile the whole project with a simple command, there are also programs that we can add to our computer as they can help us.
For installation, this method is much simpler, the only problem is that it will only be available on newer versions of Linux. It consists in unpacking the file and then reading the installation file contained in it.
Well, at this point you should already know what to do to install the program from its source code, but of course, we don’t want to make it so difficult for you, so we’ll do it step by step.
- Finding themselves in the directory containing the project (in our case called / log / ), we must do the following:
- install [/ php]
- And at the end of executing the last command, we should already have the program installed.
Lots of packages you are unfamiliar with are usually pre-installed with the operating system, but you don’t have to be afraid when you see an extension you don’t know, it’s always important to inform everything correctly.
What we always have to do before anything else is to read the README where we explain how to install or compile the program. After reading it, we need to follow the steps shown to us, which in most cases will be the ones we described in this article.
2 Easy Ways to Format Flashdisk on Ubuntu Linux, which method do you choose?
Flash format is an activity that aims to empty the files stored in it. This method is done for various reasons, such as wanting to copy new files, removing viruses, and others.
Flash format in Linux is not much different from the flash format in Windows, and it’s just that there are various ways of formatting that you can do. Depending on your understanding of which one is easy, you can use your method.
In this discussion, I will use two of the most common and easy-to-use ways to format a flash drive on Linux, namely how to format a flash drive manually and via the Terminal. The Type of Linux that I use here is the desktop version of Ubuntu 16.04.
How to Format Flashdisk on Linux Ubuntu
( I. ) Format Flash Disk Manually
The one most often used by users is how to format the flash here manually I use. The steps are as follows.
1. Open your file explorer or directory. Click on the flash drive that you want to format to see if your flash drive is legible, what it contains, and are you sure you want to format it.
2. After that, right-click on your flash device, as shown in the picture—Click Format to empty your flash.
3. Next, there are options ( Erase, Type, and Format ) that you can adjust to your needs on this Volume Format. You can follow the default options as shown in the picture.
- I select ‘ Don’t overwrite existing data (Quick )’ in the Erase section. This option makes the formatting process faster.
- I choose the FAT format for Type here, but you can select another such as NTFS.
- Then, write a new name for your flash device in the Name field.
- Next, click the Format button.
4. After that, a confirmation will appear again to make sure you do the correct format of the flash. At this stage, the Type of your flash device will be displayed as indicated by the arrow in the image. The flash that I formatted is branded HP and has a capacity of 16GB. Click the Format button to start the flash format process.
5. Format your flash drive has been successful. You can check it by re-opening your flash directory and seeing that the flash drive is empty.
( II. ) Format the flash drive via Terminal.
In addition to manually, you can format the flash via the Terminal. How to? Follow these steps.
1. First, you can check the contents of your flash drive first to make sure you format it. Here, the name of my flash is My FD.
2. Open your Terminal. You can use the shortcut by pressing the keyboard’s Ctrl + Alt + T keys. Type the command:
sudo fdisk -l
The above command aims to find out the address of your flash drive. In the command, use the word sudo, where the Terminal will ask for your password input first. Enter your password; then, the Terminal will display the specifications of the device installed on your computer.
The device that is connected is the flash that we will format. You can ensure the device is your flash drive by observing its size. The example image above says 15.1 G, which means that the flash that I will format is filled with 15.1 GB. Then, remember the address. The address is listed in the Device column, wherein the image above it says /dev/sdb1.
3. Next, use the flash address we know earlier to run the umount command. This command aims to release the flash that is currently associated. You can see the related flash disk in the file explorer, wherein the flash name has an arrow button, as shown below.
Use the command below to remove your pen drive.
sudo umount /dev/sdb1
4. Next, you can type a command like the one below to format the flash drive.
sudo mkfs.vfat /dev/sdb1
There is the word ‘ vfat ‘ in the command where FAT states the flash format after formatting. You can replace it with NTFS, hfs, ext2, ext3, ext4, and others according to your needs.
5. Finally, your flash is successfully formatted. To check, please open your file explorer and prove your flash drive is empty.
Before formatting the flash drive, make sure there are no important files that will be deleted. Back up your precious data if you are worried about losing your files. That’s how to format the flash on Linux Ubuntu easily. Give your feedback in the comments column below. Thank you.
How to Install Microsoft Teams on Linux
For those who don’t know, Microsoft Teams is now available as a Multi-Platform application on almost all operating systems, be it Windows, Mac, Linux, Android or iOS.
Now about this, we will summarize the short steps on how to Install Microsoft Teams on Linux. As usual, here, I will use Elementary OS as my mainstay Linux OS.
Here are the short steps.
Step 1. First, please open the Microsoft Teams site.
Step 2. Please download the Installer file from Microsoft Teams; please adjust it to the Linux distro you have, DEB for Ubuntu, Debian and all their descendants, and RPM for Fedora, CentOS and all their siblings.
Step 3. After the file is downloaded, please open the file, and if your Linux already has an app installer, the steps will be easier because we click install.
But if it doesn’t exist, we can use the classic steps by using Terminal. Open Terminal > Go to Directory Download > Then type the following command:
sudo dpkg -i <namafileinstaller>
Exactly as in the picture above, after typing the command, you need to enter your root password, and then the installation will run until the Microsoft Teams application is installed.
Well, please try, guys; it’s easy, isn’t it? I hope this article is useful.
GParted, Partition Management Application for Linux Operating System
Have you ever heard of GParted? This name may still sound less familiar to your ears, especially for those who use the Windows operating system because GParted is intended for Linux users.
Although it sounds less familiar, this application is quite a lot of people who use it. One of the reasons is because GParted offers ease of operation. Even people new to using it tend not to experience complicated problems even though it is the first time they try it.
What Are the Features of GParted?
GParted is an application that can run on both x86 and x64 computers with operating systems such as Windows, Mac OS, and Linux with a minimum RAM size of 256 MB. From these specifications, we can know that this application is light because it only requires a RAM capacity of only 256 MB.
Some of the features that make GParted one we recommend include:
- Create or delete partitions
- Format partition
- Resize partition
- Mounting and unmounting partitions _
- Checking storage conditions
- Enable and disable Swap (this feature can be used on devices with Linux OS)
- New UUID
- and others
You can use all of these features according to your needs. Using the features in GParted is not too difficult because the instructions are clear. Also, because GParted is GUI, it makes the instructions easy to understand.
How to Use GParted
- As usual, you download the GParted application.
- There will be an ISO file; then, you burn the file.
- Restart the computer and make sure that the boot CD-ROM is in the first place
- GParted is ready for you to use
- You can click Resize or Move if you want to adjust the size of the hard disk.
- You drag across the partition towards the left. Don’t forget to pay attention to the words New Size to create a new size and Free Space Following, the new partition you are using.
- Then you press the Resize or Move button to start this process
- You click the new partition in the Filesystem section. Then select ext3 and label ‘/.”
- Click the Add button, then apply to begin the partition change process.
- Restart the computer and see the size of the partition on the hard drive now
- Don’t forget to backup your data first before using GParted.
For your information, several versions of the Linux operating system that can use GParted include Fedora, Ubuntu, Debian, and Open Suse. GParted stands for Gnome Partition Editor, an application with a GUI or Graphic User Interface.
This application is used for storage management, namely SSD or hard disk. Functions of GParted as found in the Partition Wizard in DLC Boot for Windows OS. At the beginning of its creation, this application was intended for Linux OS.
However, now you can download GParted and use it for Windows OS. By using this application, you can edit, resize, or create or delete partitions on the storage media on your computer or laptop.
How to Solve WiFi Authentication Problem
SHARE More If you open WIFI at a school, cafe, airport, or hotel, you are usually asked to enter username...
How to Overcome the TikTok link on WhatsApp can’t be opened
SHARE More Are you a TikTok user who has experienced problems opening a link, especially on WhatsApp? If it is,...
How to Fix Spotify AI DJ Not Showing
SHARE More As a music streaming service, Spotify has revolutionized the way we listen to music. One of its most...
How to Overcome steam error code e84
SHARE More The steam error code e84 problem usually occurs when we are about to log into the Steam platform,...
How to Overcome Time synchronization failed on Windows
SHARE More Time synchronization failure is a problem that appears when Windows experiences a time synchronization failure or it could...
How to Enable Dark Mode on Facebook Messenger
SHARE More Facebook Messenger is a widely used messaging app that lets you stay connected with your friends and family....
How to Fix an LED TV That Has No Picture But Has Sound
SHARE More For those of you who are having problems with LED TVs where the picture doesn’t come out but...
How to Overcome Hotstar error mn-1002 on Android Devices
SHARE More The Hotstar error mn-1002 problem is a problem that occurs if you use the Hotstar application on a...
What is a Virtual Private Server
SHARE More In the world of web hosting, Virtual Private Server (VPS) has become a popular choice for website owners...
Instagram Marketing Strategy 2023
SHARE More Instagram is one of the most popular social media platforms, with over 1 billion active monthly users. As...
- Beauty and Personal Care
- Blog Tutorials
- Home improvement
- Life Hack
- Mobile Tutorials
- MS Excel
- MS Outlook
- MS Word
- PC Tutorials
- PDF Tutorials
- Social Media
- Weight and body image
- Windows 10
- Windows 11
Phones4 years ago
Apple iPhone 11 (2019) – Release, Info, Leaks, Rumors
Phones4 years ago
Huawei New Operating System is HarmonyOS [ Officially ]
Tech3 years ago
Levi’s Bluetooth Jacket Lets You Control Your Smartphone
News4 years ago
Belle Delphine bath water – Instagram Model Sells Used Bathwater For 30$ To Their Loyal Followers