Showing posts with label terminal. Show all posts
Showing posts with label terminal. Show all posts

08 March 2023

How to install .deb files on Ubuntu?

https://linuxconfig.org/install-deb-file-on-ubuntu-22-04-jammy-jellyfish-linux


$ sudo dpkg -i example.deb
 
If the package requires dependencies that aren’t already on your system, you will see 
this error in the terminal:
 
dpkg: error processing package 

Don’t fret, because we can install the required dependencies with a single command, 
assuming that they are available in Ubuntu’s package repository. Just run this command 
to install the dependencies: 

$ sudo apt install -f

01 October 2022

speedtest error on ubuntu terminal

When I ran 

$ speedtest

I got 

Retrieving speedtest.net configuration...
Cannot retrieve speedtest configuration
ERROR: HTTP Error 403: Forbidden

Solution:


Hi, @fixit7 .

I've never ran speedtest-cli but, after a web search, I've found the following Reddit post (in the subreddit "r/Linux4noobs 10") that was posted 23 days ago:

In that Reddit post, the original poster ("u/CryPTuuNe 3") wrote the following:

"(...) I just setup Ubuntu on my new PC. For testing purposes I installed the speedtest-cli and with the command Speedtest everything worked fine. I don't know what I did then, but now I am getting an http error 403 forbidden. But when doing speedtest --secure everything works fine again. (...)"

According to the "speedtest-cli" manpage - Ubuntu Manpage: speedtest-cli - Command line interface for testing internet bandwidth using speedtest.net 81 - the "--secure" switch has the following meaning:

--secure
Use HTTPS instead of HTTP when communicating with speedtest.net 28 operated servers

I hope this helps.

08 May 2022

How to split window and open terminal in vim?

 https://dev.to/mr_destructive/vim-terminal-integration-4pfp


^w v

To split window vertically. (the same file is opened in the new split window.)


^w l

To go to the newly split windows on the right


:term

To open a terminal. (The window on the right split horizontally, and the terminal window is on the top.)


^w j

To go to the split window below the terminal window


^w c

To close the window below the terminal window