I installed Arch with KDE but I forgot to install a terminal lol
So I installed Arch with barebones plasma just to reduce bloatware. But, well, I forgot to install konsole or yakuake and I have no means to execute commands. Surely there is an easy solution to this. Can anyone help me out?
Edit: Thanks everyone for your answers! Here are the suggested solutions:
- Inside your DE or after logging out, switch to a tty with Ctrl+Alt+F2 or with other combinations of F key (it was Ctrl+Alt+F5 in my case). Install a terminal and press Ctrl+Alt+F1 to return to your DE or just reboot.
- Reboot to live image, mount everything, enter the installation via chroot and install a terminal from there.
- In the autostart folder place an executable bash script (you can do that without a console) and inside it enter the commands
sleep 30(to let enough time for network to connect) and thenecho "mypassword" | sudo -S pacman -S <your terminal>.
Edited 27 Aug 2020. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 63 Β· 89% up
- Kind
- Text
- ID
- igzn78
32 comments
Have you tried installing it from other tty? Do Ctrl+Alt+F2 and you will be able to enter commands.
β
PS. After that do Ctrl+Alt+F1 to return to plasma at tty1.
Switch to a tty (Ctrl+Alt+F2) and install it.
Doesn't seem to work. Maybe I need to activate the shortcut somehow?
Doesn't it work with any of the other F keys? You can try F3,F4 all the way to F7.
If all else fails, reboot from install USB, chroot and install the terminal you want.
xterm?
Or ctrl-alt-f2 to swap to different .. terminal? I'm not 100% on the terminology
tty is the term I've seen most
Itβs a virtual teletype terminal but I also see people call it the console.
Op found a solution already but i find this a nice workaround
In the autostart folder place an executable bash script (you can do that without a console)
Written inside looking like
sleep 30 #######to let enough time for network to connect
echo "mypassword" | sudo -S pacman -S konsole
Does this work? I did
sudo -k; echo 'mypasswd' | sudo pacman -Syuand it prompted to enter password.That's why you have to sudo -S (then pacman-S), the -S argument to sudo means read (password) from stdin
When you are at the login screen hit ctrl alt and f2, then log in and install anything you want.
Switch to a different tty and get out of the GUI, there are like 6 different ttys to switch to
Change to "non-graphical mode" with ctrl+alt+f2 and then install konsole
Use a tty or, almost 100% sure, you have xterm installed by default.
No. I just installed a fresh install and didn't have xterm. The default "startx" script fails on both twm and xterm missing.
log out and then ctrl alt f2/f3/f4/etc until you see a tty
Ctrl+Alt+{F1,F2,F3,F4,F5,F6,F7,F8,F9} . There are 9 virtual ternimal like tty1,tty2,.... So basically any of those commands ,except f1 as thats where u have started ur KDE, must give you a tty
Makes sense but only F5 worked in my case. Why would that be?
No idea , try archlinux in telegram
Reboot to the live image, mount everything and enter your installation via "arch-chroot". Then, you can fix anything you want! π
This happened to me too, at least two times! π I must have installed Arch about 20 times and I always get something wrong and need to reboot to the live image.
you can simply switch to another tty
I did the same, just switch to tty and install it
Start a live disk, mount and chroot your install, and install a terminal
you can always arch-chroot to existing installation and jnstall konsole
Ctrl-Alt-F2
Xterm should be installed as part of the normal xserver package but I might be wrong