2 How to Install Java on Linux Ubuntu with Easy, Very Suitable for Beginners!

Java and Java’s Virtual Machine (JVM) has been widely used for many software needs. Java is a platform that can run applications (Java based) on a particular operating system by interpreting a number of bytecodes. Not only required by a developer or programmer, Java is also required for ordinary users to run various Java-based applications contained on the computer, by utilizing Java Runtime.

There are different ways to install Java on multiple platforms. Unlike Windows, how to install Java on Ubuntu is usually done through the terminal. Before installing Java, it’s a good idea to check if your Ubuntu is already installed Java or not. If you have, at least you can find out which version is installed on your Ubuntu. If possible you would like to reinstall for the latest version of Java. There are two ways to install java on Ubuntu Linux, ie installation by default and specific installations.

# 1 How To Install Java By Default

For how to install by default, you can follow the steps below.

1. Open a terminal on your Ubuntu. Update to update your Ubuntu to be up-to-date, with the command:

sudo apt-get update

2. Then, do the following command to install JDK:

sudo apt-get install default-jdk

Type Y to continue if there is a question as indicated by the arrow in the image below.

and the commands below to install JRE.

sudo apt-get install default-jre

You need to know, if you have installed JDK command, then you no longer need to run the command to install JRE. Because, in JDK already have JRE.

JDK (Java Development Kit) is a Java install package that is usually required by programmers by utilizing the compiler contained in it to run the bytecode of the program. In JDK there is also Java Runtime to run the application. Unlike the JRE (Java Runtime Environment) that can only be used to run Java-based applications. JRE there is no compiler that can run bytecode when you write a program.

# 2 How to Install Java Specifically

There are two ways to install Java specifically, by using the openjdk and oracle commands. This specific installation aims to install the desired Java version as needed. For example, an Ubuntu user requires Java 7 to be installed on the system, then the user can directly use the openjdk-7- command.

Similarly, if you want to mengintall oracle Java 8, the command used is specific. The steps of installing the above two ways are not much different. There are only differences in the command.

The following steps to install Java openjdk.

Actually, openjdk and default Java types are the same. Openjdk is the default Java type that is used to install Java specifically as per the user’s wish.

1. Type the update command on the terminal to make sure your Ubuntu is up-to-date.

sudo apt-get update

2. Then type the command for the Java installation. For example, you want to install Java 8. Then the command looks like this:

sudo apt-get install openjdk-8-jdk

or if you want to install Java SE Runtime Environment:

sudo apt-get install openjdk-8-jre

If you want to install a different version of Java, you just replace the number 8 on the command in accordance with the version number you want.

3. Wait until the installation process is complete.

Steps to install Java oracle.

1. Before installing the Java oracle, you must add the Oracle PPA to your repository. Type the command below:

sudo add-apt-repository ppa: webupd8team / java

2. After that, update with command:

sudo apt-get update

3. Next, you can type the installation command for the Java version you want. Just like openjdk, you just need to replace the Java version of the oracle version of the following command with the version number you want. Here I am installing Java oracle 8.

sudo apt-get install oracle-java8-installer

4. Wait for the installation to complete. If there is a configuration request like the image below, select OK by pressing Enter.

5. Navigate to the Yes option, then press Enter on the keyboard.

6. Wait for the installation to complete.

How to install Java on Ubuntu. You can check your install results by typing the command:

java -version

From the results of the command you will know which java version is installed on your Ubuntu. Java version usually begins with the number 1. then proceed with the version (in numbers) Java successfully installed. If you have other questions or comments about some how to install java in Linux above, please input in the comment field below. thanks.

How to Install Ubuntu Linux for Beginners, Completed !

In this tutorial, I will explain how to install Ubuntu linux for beginners. Ubuntu is a complete Linux-based operating system that is freely available and also very popular in the world and has considerable support from community and professional experts. Why is Ubuntu so popular and still the preferred operating system among users? There are several reasons:

  • Ubuntu is an open source OS that means you do not need a license and crack technique to use it.
  • Ubuntu is an operating system that is often used for servers.
  • Very little chance of virus attack.
  • User Interface on Ubuntu is more soft and clean so as to provide convenience to the user.
  • Time to shutdown and boot is relatively faster, and so on.

In this tutorial, I will install Ubuntu 16.04.4 LTS Desktop OS using bootable flashdisk. For other versions, the way is almost the same anyway, not much different, so you do not have to worry. You can install the latest version of Ubuntu through the following link: https://www.ubuntu.com/download/desktop.

I suggest you listen to the installation steps that I will explain so there is no error when you install Ubuntu especially those who want to dual boot for example you already have a previous Windows OS then you want to install ubuntu on the same laptop / PC. Because if you make a mistake when selecting options in the installation process or when creating partitions, the data on your Windows OS can be lost / formatted.

For more details on how to install linux Ubuntu on PC / laptop, let’s see the explanation below.

How to Install Ubuntu Linux for Beginners

Before installing Ubuntu 16.04.4 LTS desktop operating system, there are some things you need to prepare and note:

  • Prepare a blank flash with a storage capacity of at least 4GB.
  • If you are going to install Ubuntu on a laptop, make sure your battery does not run out during the installation process by plugging in your charger immediately.
  • Prepare software to create bootable USB flashdisk like Rufus (I usually use this).
  • Prepare the Ubuntu 16.04.4 LTS Desktop ISO file that you have downloaded earlier.
  • Finally, make a bootable USB flash using Rufus by inserting the Ubuntu 16.04.4 LTS Desktop ISO file. For a tutorial how to boot a flashdisk using Rufus you can read here.

Well, after you set up bootable USB flashdisk, now it’s time you install Ubuntu on your laptop / PC. Notice the steps below.

1. Plug the flash into your laptop. Restart your computer and press F2, Esc, F12 or any other button (depending on your PC / laptop settings respectively) to enter the computer’s BIOS.

2. After entering the BIOS, select the “Boot” tab. Well, in Boot Option Priorities, place the bootable flash in the top position as shown below. Meanwhile, for others just follow the most important only bootable flash.

3. Select Save and Exit tab, press Enter on Save and Exit option then laptop / PC will restart automatically or press F10 key on keyboard.

Next, wait for the Ubuntu installation process.

5. Select the language to use during the installation process. Here, I chose English (default) to make it more understandable. Then, click Install Ubuntu.

6. If you are connected to the internet, you can check the Install third-party software for graphics and Wi-Fi hardware, Flash, MP3 and other media. You can also check the Download update while installing Ubuntu section if you are sure your internet connection is fast because if you choose this option then the installation process runs long because all updates and possibly can error if suddenly internet connection lost. Then, click Continue. But, if you do not have an internet connection, just click Continue without any tick.

7. In the Installation type, select Something else and then click Continue. You can choose another option according to your needs, here I choose Something else so I can create my own partition so the data in Windows (because my laptop is dual-boot) is not formatted.

8. Now, we go to the partition. As in the picture below, we do not have any partitions before. Click New Partition Table to start creating a new partition.

9. Click Continue

10. Here, we I have a capacity of 10 GB which will be divided into 2 partitions. In the first partition the Swap Area is used by the system as a backup memory if the system runs out of memory and on the second partition is Root to store personal data and where Ubuntu is installed. To create a partition click the plus sign (+).

Add Partition

(Note: You create a Home partition to specifically store personal files like music, pictures, and documents Here, I did not add but make it one with Root)

11. First, we will create a Swap partition. Determine the size of this partition to your liking but I suggest not too big. Here my Swap size is 1GB. Then, select “Primary” and then select “Beginning of this space”. In the Use as box select “swap area”. In my opinion, swap area partition is a very important partition (must exist). Then click OK.

12. The result will look like in the picture below. Then, select the free space section, then click add or plus sign (+) as shown.

13. Secondly, we will create a Root partition. Then, select “Logical” and select “Beginning of this space”. In the Use as box choose “Ext4 journaling file system” and in the Mount point box select /. Click OK.

14. The result will look like in the picture below. There are 2 pieces of partition that is swap area and /. Click Install Now.

16. Click Continue.

18. For time zone, I choose Medan (where I am), then click Continue.

19. Select keyboard input language here I choose English (US).

20. Next, fill in the data for the complete user as shown below. When done, click Continue.

21. Wait until the process of installing and copying the operating system data is complete. It usually takes about 10-30 minutes.

22. After the installation process is complete. Click Restart Now.

23. Well, now you have successfully installed Ubuntu on your laptop / PC. Enter the password you created earlier to log into Ubuntu.

24. The Ubuntu interface will look like the one shown below. Cool, is not it?

That’s the steps how to install linux Ubuntu on your laptop / PC. For those of you who find obstacles in the Ubuntu installation process, do not hesitate to ask through the comments box that has been provided. Hopefully the above article useful and good luck. Thank you!

Steps to Install Laravel on Linux Mint 18.3

Laravel is a very popular free, open source PHP framework created by Taylor Otwell and is intended to make it easy to build web applications by following a model-view-controller (MVC) architecture.

In this paper, I want to share a guide how to install Laravel steps in Linux Mint. Hopefully this article is easy to understand especially for readers who want to learn PHP web programming using Laravel Framework.

1. System Update

Before starting, we make sure first if our Linux has been updated

to check and update the system we can use apt update command,

$ sudo apt update

2. Install Package Dependencies and Composer

The next step I used to do to install laravel to web server-I use
lampp-, is to install the Composer app. The name of this latter app (Composer), I will later make a bridge to download Laravel to the web server -If you have not installed xampp on Linux, follow the tutorial how to install xampp here -.

To download Composer we need curl, and we also need php7.0-cli to install and run Composer. In addition to these two packages we also need Git which will be used by Composer to download dependencies. The three packages I mentioned above can be installed simultaneously by typing this command in the terminal:

$ sudo apt-get install curl php7.0-cli git

then install the php dependencies that will be needed to run Laravel

$ sudo apt install php-mcrypt php-gd php-mbstring php-xml

Since we have installed the curl, we will now call it to install the composer.

$ curl -sS https://getcomposer.org/installer | sudo php – -install-dir = / usr / local / bin -filename = composer

The above command to download and install Composer in / usr / local / bin.

The output will look like this:

To test whether the Composer install has been successful, please type the command running Composer

$ composer

If you get a more or less similar look like this, it means that Composer has been successfully installed on your system.

run-composer

3. Install Laravel Through Composer

After Composer successfully installed, the next step is to install Laravel through the Composer that we have installed. The trick is very easy, first move to the htdocts folder (if using Xampp), then type the command to create a new folder in which Laravel will be loaded, by typing the create-project composer in the terminal:

$ sudo composer create-project laravel / laravel try

* This may take a long time

4. Run Artisan Serve

If the Laravel install is complete, now go to the “try” folder we created earlier, and run the command

$ php artisan serve
artisan-serve

Type the server address in the browser to open the “try” Larvel page.

laravel-artisan-serve

Modem Manager GUI As Software Dialler For Linux

Modem Manager GUI is a modem usb modem replacement application that you use when surfing, built with gtk + allows this application to run smoothly and efficiently, and this application is very compatible with all modems you use, maybe for some features there may be no can, like sms, ussd, traffic or anything else.

Modem Manager GUI is very compatible with device modem, but may not be compatible with undetectable modem in linux like my modem, most huawei modem for linux. But for some modems such as smartfreen, telkomsel flash, maxis or others can be compatible because it has a plug and play feature in its device.

But Modem Manager GUI does not have dial up feature to connect to the internet, this is different from the built-in modem software that must have dial up feature, but I will try to understand the source code of the application so that I can membuild the newest feature feature, but for the solution you can use wvdial or directly connect to the internet via the sidebar in the network icon, but you must make dial up first in the network settings.

Here are some features of Modem Manager GUI that is highly recommended for use as modem manager substitute mobile partner or other similar software modem built for use in linux.

  • Display using GTK +
  • Easily send and receive messages
  • Send and receive ussd with encoding system.
  • Retrieves modem device information (device info, Operator name, Mode, IMEI, IMSI / ESN, Signal)
  • Scan the available networks
  • Controls transmision data and controls traffic and traffic usage

Well, for that modem manager gui is a great choice for those of you who really want to find modem manager substitute software modem like mobile partner like at this source musikji.

How to Install Modem Manager GUI In Linux

Here are some install options in linux depending on the distro or os used.

Fedora

yum install modem-manager-gui

Ubuntu

sudo add-apt-repository ppa: linuxonly / modem + manager + gui
sudo apt-get update
sudo apt-get install modem-manager-gui

Debian

apt-get install modem-manager-gui

Arch Linux

pacman -S modem-manager-gui

Linux Chakra

ccr -S modem-manager-gui

Mageia Linux

urpmi modem-manager-gui

Licence

Modem Manager GUI is distributed under the GNU GPL v3 license. To download this application you must agree and comply under the terms of the GNU GPL v3 license.

Participation

To participate in the GUI Modem Manager project you can and very much be able to help this project grow, by the way.

Search for bugs and send them to bug tracker.You can translate the words in this app.

Please choose either one of the above or both to participate in the project.

Source Code

You can download the source code for the Modem Manager GUI on its official website through the download link I have provided following the modem manager gui source code download.