Connect with us

Linux

How to install Linux Ubuntu operating system from USB on my PC – Steps and requirements

Published

on

How to install Linux Ubuntu operating system from USB on my PC - Steps and requirements

Linux Ubuntu is characterized by being a light and simple system, highly recommended to take advantage of older PCs, this operating system has a wide variety of useful tools when it comes to working, playing, or entertaining.

Due to its low weight and a great repertoire of tools, it is one of the most famous Linux distributions, having a large number of users, is classified among the best, together with Fedora, Linux mint, it is also compared many times with Xubuntu, a version of Linux that consumes very little resources.

How to boot a USB with Linux Ubuntu?

Booting a USB memory is the process prior to the installation of an operating system since in this the respective programs are installed that will know how to identify the PC’s BIOS during the installation process, to boot a USB, we have several options.

If we start from a Linux system, a good alternative is to use Unetbootin, which is a multiplatform tool that has the objective of booting USB, having the ability to have the ISO images of different systems at the same time.

After installing the program and executing it, a gray window will appear, in the lower right a button will appear with 3 dots “…”, we will click and it will ask us to select an ISO image, we mark the Ubuntu Linux image and proceed to choose our USB memory and accept. If we have problems locating the file, we can search for them from the Terminal, with the “Locate and Find” commands.

How to install Linux Ubuntu operating system from USB on my PC - Steps and requirements

If we are on Windows, whatever the version, we will use “Rufus”, a USB memory boot program, it also has a simple menu, in which we select the corresponding ISO, then the destination (our USB) and finally we accept.

How to install Ubuntu from Windows?

If we are on Windows and we want to switch to Ubuntu, or just add it as a secondary system, we must first create a USB memory with the system, there are many versions of Linux Ubuntu, and it will vary which is the best for you, depending on your needs.

Once the file is created on the USB, we must turn off our computer, it is important to know what brand is our motherboard or what brand is our laptop, this, in order to know which key opens the boot menu, usually it is “F8” or “F11“, we turn on our equipment, and press the start key several times, a menu should appear, normally it is blue, in which we will select the one with the name of our USB memory.

When we do this we will get another menu with several options, we must mark the one that says “Ubuntu”, and it will start the installation, it will ask us to select the language of our preference, we will also have to choose the layout of our keyboard, after this, it will ask us To know what type of installation we want, we must give “normal or complete installation”.

If we want to keep our Windows system we will have to mark “install together with Windows”, and we will be asked to know how much space we want to allocate to the application, it is important to know that Ubuntu offers great freedom to make modifications to the system, for this reason, it is important to know some of the most important commands of the system to handle it more easily.

How to install Ubuntu from another version of Linux?

If we already have another Linux distribution on our computer and we want to change it to Ubuntu, or we simply have an old version and we want to update, the process is similar to what we would do if we were on Windows.

How to install Linux Ubuntu operating system from USB on my PC - Steps and requirements

When we are going to carry out this process, many people have the question of whether it is necessary to update the BIOS and how to do it, but in reality, this is not necessary, since Ubuntu can work in low-resource systems easily. Once we have our USB booted with Unetbootin, we will proceed to restart our computer and press the key to open the boot menu, once opened.

We select the USB drive that the system has and we open it with entering, the installer will open and we choose the language, keyboard, and time zone that correspond to us, we can choose between eliminating any other version of Linux or installing it in parallel, After this the program will finish the installation automatically, leaving you on the desktop, ready for use.

Advertisement

Linux

The new version of Linux 5.13 comes with enhanced security, support for Apple M1 and more

Published

on

The new version of Linux 5.13 comes with enhanced security, support for Apple M1 and more

Linus Torvalds released version 5.13 of the Linux kernel where it provided early support for the new Apple M1 chip with basic support, new security features for Linux 5.13 such as Landlock LSM, Clang CFI support, and the ability to randomize the kernel stack offset on every system call, as well as s Support for HDMI FreeSync and early implementations of Aldebaran, among others.

About 47% of all changes introduced in 5.13 are related to device drivers, about 14% of changes are related to updating code specific to the hardware architecture, 13% are related to the network stack, 5% are related to the file system, and 4% are related to the kernel subsystem internals.

Torvalds called the new version “pretty big”.

“We’ve had a pretty quiet week since rc7, and I see no reason to delay 5.13. The roundup for this week is small, with just 88 uncombined commits (and some of them just rollbacks). Of course, while last week was small and quiet, the 5.13, on the whole, was pretty big. In fact, it is one of the most important versions of 5.x, with over 16,000 commits (more than 17,000 if you count mergers), from over 2,000 developers. But this is a general phenomenon, not a specific phenomenon distinguished by its unusual character,” wrote Torvalds.

Major new features of Linux 5.13

One of the most important new features of the Linux 5.13 kernel is early support for Apple’s M1 chip, where at the moment you only have hardware support and code execution, but a lot of optimization is expected. Graphics acceleration is not yet available, but it is hoped that in the next version initial support will also be available.

Another news presented in Linux 5.13 in relation to security is Landlock, which is a new security module that can run alongside SELinux to better manage processes. It allows to limit interaction with external environment group processes and was developed with a view to isolation mechanisms such as Sandbox, XNU, FreeBSD Capsicum, and OpenBSD Pledge/Unveil.

With the help of Landlock, any processes, including those that are not rooted, can be isolated reliably and avoid going through isolation in case of vulnerabilities or malicious app changes. Landlocks allow processes to create secure sandboxes that are implemented as an additional layer on top of existing system access control mechanisms. For example, a program may deny access to files outside the working directory.

also, improvements to the RISC-V architecture are highlighted, because in this new version support for kexec, crash dumps, kprobe, and kernel launch are implemented in place (execution in place, execution from native media, without copying to RAM).

Also for modern Intel processors, a new cooling controller has been won, Initial support is also provided for this manufacturer’s new system, branded Alder Lake-S (12th generation).

Meanwhile, AMD highlights FreeSync support via HDMI, support for ASSR (Alternative Encoder Seed Reset), ioctl to request video encoding and decoding capabilities, and CONFIG_DRM_AMD_SECURE_DISPLAY mode to detect changes to the screen displaying important information. Support for the ASPM power-saving mechanism has been added.

From other notable changes of this new version of Kernel:

  • Support for the Simultaneous Translation Search Buffer Buffer (TLB) feature for some minor performance benefits In fact, Linux 5.13 x86 memory management work provides a small performance optimization which is especially useful given the CPU security mitigations of recent years affecting TLB.
  • Support for AMD Zen for Turbostat.
  • Loongson 2K1000 bracket.
  • KVM provides AMD SEV and Intel SGX upgrades for guest virtual machines.
  • Support for Intel bus key detection has been added in addition to existing support for separate key detection.
  • KCPUID is a new utility in the tree to help configure new x86 processors.
  • A generic USB display driver has been added for settings such as using the Raspberry Pi Zero as a display adapter.
  • Support for “Intel DG1 Platform Monitoring Technology” / telemetry platform.
  • The POWER9 NVLink 2.0 driver has been removed due to lack of open source user support.
  • Direct Rendering Manager driver update.

Continue Reading

Linux

How to Install and Configure Java on Ubuntu 20.04

Published

on

How to Install and Configure Java on Ubuntu 20.04

Java is one of the most popular programming languages ​​used to build various types of applications and systems. Java runs on all operating systems and devices. We can find applications developed in Java on your laptop, mobile phone, and game console.

In this guide, we will learn how to install Java on Ubuntu 20.04.

Before starting

There are several different Java implementations. OpenJDK and Oracle Java are the two main implementations of Java, with almost no difference between them except that Oracle Java has some additional commercial features. The Oracle Java license only permits non-commercial use of the software, such as personal use and development use.

The default Ubuntu 20.04 repository includes two OpenJDK packages, the Java Runtime Environment (JRE) and the Java Development Kit (JDK). The JRE consists of the Java virtual machine (JVM), classes, and binaries that make it possible to run Java programs. The JDK includes the JRE and the development/debugging tools and libraries needed to build Java applications.

If you are not sure which Java package to install, the general recommendation is to install the default version of Java, which is the OpenJDK version (JDK 11). Some Java-based applications may require a specific Java version, so as a user, it is mandatory to read the application documentation.

Install Java OpenJDK 11 on Ubuntu 20.04

At the time of writing, Java 11 is a long-term supported (LTS) version of Java. It is also the default Java development and runtime in Ubuntu 20.04.

Run the following command as a user with Sudo or root privileges to update the packages index and install the OpenJDK 11 packages:

sudo apt update
sudo apt install openjdk-11-jdk

The JRE is included in the JDK package. If you only need the JRE, install the OpenJDK-11-JRE. For minimal Java runtime, install the OpenJDK-11-JDK-headless.

Once the installation is complete, verify by checking the Java version:

java -version

The output will look like this:

openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mixed mode, sharing)

At this point, the Java installation on the Ubuntu system has been successful.

Install Java OpenJDK 8 on Ubuntu 20.04

Java 8, the earlier LTS version of Java, is still widely used. If your application is running on Java 8, you can install it by typing the following command:

sudo apt update
sudo apt install openjdk-8-jdk

Verify the installation by checking the Java version:

java -version

The output will look like this:

openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1ubuntu1-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)

Set Default Java Version on Ubuntu 20.04


If you have multiple versions of Java installed on the system, To check the default Java version, you can use the following command:

java- Version

To be able to change the standard version, use the tools update-alternatives as shown below:

sudo update-alternatives --config java

The output will look like the following

There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection Path Priority Status
-------------------------------------------------- ----------
* 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 auto mode
  1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 manual mode
  2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode

Press <enter> to keep the current choice[*], or type selection number: 

You will be presented with a list of all installed Java versions. Enter the version number you want to use as the default and press Enter.

Set JAVA_HOME Environment Variable

Some applications written in Java use environment variables JAVA_HOMEto specifies the Java installation location.

To set the JAVA_HOME environment variable, use the command update-alternatives to find where Java is installed:

sudo update-alternatives --config java

In our case, the installation path is as follows:

  • OpenJDK 11 is located at /usr/lib/jvm/java-11-openjdk-amd64/bin/java
  • OpenJDK 8 is located at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java

Copy the installation path of the installation of your choice. Next, open the file /etc/environment :

sudo nano /etc/environment

Add the following line, at the end of the file:

/etc/environment
JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"

Make sure to replace the path with the path to your Java version of choice.

You can log out and then log back in, or run the following source command to apply the changes to the current session:

sources /etc/environment

To verify that the environment variables are JAVA_HOMEset correctly, run the following echo command:

echo $JAVA_HOME
/usr/lib/jvm/java-11-openjdk-amd64

/etc/environment is the system configuration file, which is used by all users. If you want to set variables JAVA_HOMEon on a per user basis, add a line to .bashrcor other configuration file that is loaded when the user logs in.

How to Uninstall Java on Ubuntu 20.04

If for some reason you want to uninstall a Java package, you can uninstall it like any other package installed with apt.

For example, if you want to remove a package default-JDK just run the command:

sudo apt remove openjdk-11-jdk

Conclusion

OpenJDK 11 and OpenJDK 8 are available in the default Ubuntu 20.04 repositories and can be installed using the apt package manager.

Continue Reading

Linux

How to repair a corrupted or unreadable USB stick using Ubuntu and Gparted?

Published

on

How to repair a corrupted or unreadable USB stick using Ubuntu and Gparted

A free software system like Ubuntu has many advantages over its closed source competitors because it allows all kinds of actions to be carried out with commands. One of them even allows you to fix faulty devices, so with that in mind today you will learn how to repair a damaged or unreadable USB memory using Ubuntu and Gparted.

If you have seen the title and thought that it is crazy to repair a USB directly from an operating system, then you have probably never used Linux because it is open-source, it gives certain facilities to its users so that they can edit things that allow them to create new tools from scratch.

Repair a corrupted or unreadable USB stick using Ubuntu and Gparted

To get straight to the point and start the process that will help you repair a damaged or unreadable USB memory using Ubuntu and Gparted, you obviously have to install Gparted on your PC if you haven’t downloaded it yet.

You will achieve this by opening your command window in the menu and entering the following: Sudo apt-get install GParted, this action will immediately install the program, once the process finishes you will be able to use it without any limitation.

Now to begin the USB repair process, you must put this USB into one of the ports that you have available (make sure it is working perfectly since you cannot disconnect the memory until the process is finished).

How to repair a corrupted or unreadable USB stick using Ubuntu and Gparted

Once it is connected, the Gparted will recognize it immediately, so the next step will be to open the program, then you will have to stand over the button that has the same name as the application (it is in the menu above), and click on ” Refresh devices ”, so that the USB appears that way.

Format or resize

When your memory has been loaded into the program, you will notice that the amount of GB it has appeared, and also a small section where there are a few MB (that is the firmware information), in case that information does not come out. , then you will not be able to repair the USB (usually happens with 8 or 128 GB memory).

If you get it, then proceed to click on the option with more memory, which will show several elements in a list, select “Delete” to format it, and if it doesn’t let you do that, then click on “Resize/Move”.

That will let you partition the device so that you can shrink the USB to the space that is considered real. If your memory is 64 then create a partition of 8, if it is 32 make it 4 (if it is some other then you can search the web for what the value would be).

How to repair a corrupted or unreadable USB stick using Ubuntu and Gparted

In order to create this partition, you only have to lower the amount of memory in the “New size” field with the bar that appears in the “Resize” section. When finished, just press “Resize/Move” to confirm and that’s it. If you want, you can try to repair the memory card without formatting, it may be a process, but maybe you will succeed.

Where to direct memory

With the above, you are just a few steps away from finishing the process that will help you answer the question How to repair a damaged or unreadable USB memory using Ubuntu and Gparted? , the next thing you should do is direct the memory where you want.

For that, click again on the section of your USB, but this time press the option “Format to”, there you will get a list of places that you can select, the recommended thing is to press “FAT32” if the destination of the USB is mobile and “NFTS” if you use it on a computer.

Having chosen one, the process will be complete and it is most likely that the USB can already be used, so the question How to repair a damaged or unreadable USB memory using Ubuntu and Gparted? , has finally been answered.

But before finishing, I tell you that if you want to force format the USB, you could also try it. And, if you finally can’t fix it, you can try to recover RAW formatted USB files.

Continue Reading
Advertisement

Latest

How to find a TikTok user - Sync friends from social networks How to find a TikTok user - Sync friends from social networks
TikTok7 hours ago

How to find a TikTok user – Sync friends from social networks

SHARE How to find a TikTok user:- Since its launch, TikTok has gained a lot of popularity among various groups...

How to Lock a Document in Microsoft Word How to Lock a Document in Microsoft Word
MS Word1 day ago

How to Lock a Document in Microsoft Word

SHARE In this lesson, we will learn how to lock a document in Microsoft Word with a password. Well, for...

How to Edit PDF to Word Using Microsoft Word How to Edit PDF to Word Using Microsoft Word
MS Word1 day ago

How to Edit PDF to Word Using Microsoft Word

SHARE The easiest way to edit PDF files is with Microsoft Word, usually, this is needed to tidy up the...

How to Give Password in Excel Document How to Give Password in Excel Document
MS Excel1 day ago

How to Give Password in Excel Document

SHARE Giving a password to an Excel document is really something you need to do, especially if the document you...

How to Generate Random Numbers in Microsoft Excel How to Generate Random Numbers in Microsoft Excel
MS Excel1 day ago

How to Generate Random Numbers in Microsoft Excel

SHARE How to make random numbers or random will be easiest when you use Microsoft Excel. Make no mistake, there...

How to Save a Small Document in Microsoft Word How to Save a Small Document in Microsoft Word
MS Word2 days ago

How to Save a Small Document in Microsoft Word

SHARE Discusses how to save small documents in Microsoft Word, which some people may need. This is possible for Microsoft...

How to Print Documents of Certain Pages in Microsoft Word How to Print Documents of Certain Pages in Microsoft Word
MS Word2 days ago

How to Print Documents of Certain Pages in Microsoft Word

SHARE This time we will discuss how to print certain page documents in Microsoft Word. Printing one page may already...

How to Randomize Names in Microsoft Excel How to Randomize Names in Microsoft Excel
MS Excel2 days ago

How to Randomize Names in Microsoft Excel

SHARE If We have previously discussed how to generate random numbers, this time we will share how to randomize names...

How to Cross Out Specific Data in Microsoft Excel How to Cross Out Specific Data in Microsoft Excel
MS Excel2 days ago

How to Cross Out Specific Data in Microsoft Excel

SHARE Microsoft Excel also provides a feature that allows you to cross out or give a line based on certain...

How to Quickly Change Case in Microsoft Word How to Quickly Change Case in Microsoft Word
MS Word3 days ago

How to Quickly Change Case in Microsoft Word

SHARE You can quickly change the case of letters in Microsoft Word with the following keyboard combinations or shortcuts, let’s...

Advertisement

Categories

Trending

Copy link
Powered by Social Snap