How to install Linux Package and Desktops on Android

Do you know that you can install some Desktop Applications that are also available on Linux on your android device?

This is possible with the use of the UserLand App, an application that enables you to install some distribution of Linux on your android device, to learn how to install Linux distributions on your android device, kindly visit this link.

Once you have your desired distribution of Linux on your android device, you may be interested in knowing how to manage packages (installing and deleting), and installing a desktop on your Linux for android.

This post teaches you how to do so.

Linux on android

Navigation Help

Since you won’t be using a keyboard and a mouse, it might interest you to know how to navigate your Linux environment.

First, you need to select an input mode by clicking the ellipse, then navigating to input option where you can select the input type.

In any Input Mode, tap the keyboard
icon to get the on-screen keyboard.
Also, your device may have its own
gesture which bring up the keyboard.


Use the Direct input modes for more
intuitive touch-screen control. Use
Simulated Touchpad Mode for finer
control over the mouse.


Direct, Swipe Pan Mode:


– Control the mouse directly through
touch.
– Swipe to pan around.
– Tapping makes the mouse click
where you tapped.
– Scroll events are sent between the
two fingers where a two-finger swipe
started.
Direct, Hold Pan Mode:
– Control the mouse directly through
touch.
– Long-tap to start pan mode.
– Tapping makes the mouse click
where you tapped.
– Scroll events are sent between the
two fingers where a two-finger swipe
started

Simulated Touchpad Mode:


– Use your screen like a touchpad.
– Swipe to move the mouse pointer
around.
– Move mouse beyond edge of screen
to pan.
– Tapping makes the mouse click
where the pointer is.
– Scroll events are sent where the
mouse pointer is located.

Single Handed Mode:
– Same as Direct, Swipe Pan Mode,
except long-tap opens menu with
choice of modes.
– After choosing mode, swiping finger
on screen performs selected gesture.
– Lifting finger completes the gesture.
All Input Modes:
-Left-click: Tap once.
– Double-click: Double-tap.
– Right-click: Tap-hold and tap with
a second finger (anywhere else on
screen).
– Alternate Right-click: Use the “Back”
button or gesture for your device.
– Middle-click: Tap-hold and tap with
two more fingers (anywhere else on
screen).

– Mouse-drag: Tap-hold-long and
swipe.
– Scroll-wheel: Two-finger drag up/
down and left/right. Quick drag scrolls
faster.
– Zoom in/out: In Zoomable scaling,
pinch-zoom to control scaling.
Ctrl/Alt key: Menu->Ctrl/Alt buttons.
Don’t forget to toggle off when done!
-Key combos: Menu->More->Send
Keys.
– Send text: Either type on the on-
screen keyboard, or use Menu->More-
>Send Text.

How to manage Package on Ubuntu, Debian, and Kali Linux

You can install, uninstall and update any available package on your Android Linux environment.

To install a package, type the following command:

sudo apt-get install package-name

To uninstall a package, run the following command:

sudo apt-get remove package-name

To update, type in the following command

sudo apt-get update && sudo apt-get dist-upgrade

How to install a Desktop on Ubuntu, Debian, and Kali Linux

To install a desktop, consider the following steps:

Step 1: install the default desktop, (lxde), by typing in the following command:

sudo apt-get install lxde

You may need to exercise some patience for the package to install, Once run, you will be prompted to click Y/n to continue the installation:

Type Y to continue, the package file is large (about 1.5Gigabyte), so you may need to prepare a cup of coffee while waiting for it to install.

You may be asked to select between gdm3 and lightdm, select your choice and continue.

Step 2: install x server client (XSDL) from the play store.

Step 3: Launch the app (XSDL)

Since your Linux is on the same system, you may type in the last command in the instructions displayed as shown in the picture above, if you are running lxde on another phone, you can type in the first command instead.

Step 4: Type in the following command after the last command.

runlxde

Once initiated, your bash should look like this.

Open Xserver to access your Desktop environment.

That’s it, you can now access the Linux lxde desktop environment on your Android device and begin installing desktop apps that are available on Linux, firefox comes by default.

I hope you find this information helpful, kindly leave a comment if you had any question.

Leave a Reply

0 Comments
Inline Feedbacks
View all comments