28 April 2024
exception can not find valid pkg-config name when installing mysql with pip
04 February 2024
How to install Firefox and update it on Ubuntu?
To install -
$ sudo snap install firefox
To update it -
$sudo snap refresh firefox
26 December 2023
08 November 2023
How to install .deb files on Ubuntu?
$ sudo dpkg -i xxx.deb
if you still faces issues with dependencies execute the following command to install the required dependencies.
$ sudo apt-get install -f
31 August 2023
19 July 2023
logical drive is undergoing parity initialization for ages
Click 'Modify Controller Settings' > 'Surface Scan Analysis Priority'. Change 'Idle (with delay)' into 'High'. Click 'Save Settings'.
02 May 2023
How to install Google Chrome browser on Ubuntu 22.04?
https://linuxhint.com/install-google-chrome-on-ubuntu-22-04/
$ sudo apt update
$ sudo apt install wget
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
$ sudo dpkg -i google-chrome-stable_current_amd64.deb
To run Google Chrome,
$ google-chrome
30 April 2023
How to install supertab plug-in for vim?
https://github.com/ervandew/supertab
Use vim 8+ plugins:
$ mkdir -p ~/.vim/pack/plugins/start $ git clone --depth=1 https://github.com/ervandew/supertab.git ~/.vim/pack/plugins/start/supertab
How to install jedi-vim for Python automatic code completion?
Step 1. Install Pathogen vim plug-in manager
https://github.com/tpope/vim-pathogen
Installation
Install to ~/.vim/autoload/pathogen.vim
.
Or copy and paste the following into your terminal/shell:
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
(If you're using Windows, change all occurrences of ~/.vim
to ~\vimfiles
.)
Runtime Path Manipulation
Add this to your vimrc:
execute pathogen#infect()
If you're brand new to Vim and lacking a vimrc, vim ~/.vimrc
and paste
in the following super-minimal example:
execute pathogen#infect()
syntax on
filetype plugin indent on
Now any plugins you wish to install can be extracted to a subdirectory
under ~/.vim/bundle
, and they will be added to the 'runtimepath'
.
Observe:
cd ~/.vim/bundle && \
git clone https://github.com/tpope/vim-sensible.git
Now sensible.vim is installed.
Step 2. Install jedi-vim plug-in
Installation
Requirements
You need a VIM version that was compiled with Python 3 or later
(+python3
). You can check this from within VIM using
:python3 import sys; print(sys.version)
.
Manual installation
You might want to use pathogen to install jedi-vim.
(The first thing you need after that is an up-to-date version of Jedi. Install
git submodule update --init --recursive
in your jedi-vim repository.)
Example installation command using Pathogen:
git clone --recursive https://github.com/davidhalter/jedi-vim.git ~/.vim/bundle/jedi-vim
14 March 2023
How to install Chinese input on Ubuntu?
To install Chinese Pinyin input on Ubuntu, you'll first install the ibus-pinyin
package, then configure it within the Settings app. After
installing the necessary packages and logging out and back in, you can
add the Chinese Pinyin input source in the Region & Language
settings.
Here's a more detailed breakdown:
1. Install ibus-pinyin
:
- Open a terminal (Ctrl+Alt+T).
- Run
sudo apt install ibus-pinyin
. - Restart ibus:
ibus restart
. - Configure ibus:
ibus-setup
.- In the ibus-setup window, click the "Input Method" tab, then "Add".
- Select "Chinese" and then "Pinyin".
- 2. Configure Settings:
- Open the Settings app (type "Settings" in the search bar).
- Go to "Region & Languages".
- Click "Manage Installed Languages".
- Ensure "Keyboard input method system" is set to "ibus".
- Install Chinese, simplified if prompted.
- Log out and back in.
- 3. Add the Input Source:
- Open Settings and go to Keyboard.
- Click "Input Sources" and the "+" button.
- Add the Chinese Pinyin input source.
===================================================
https://askubuntu.com/questions/1408873/ubuntu-22-04-chinese-simplified-pinyin-input-support
- Open Settings, go to
Region & Language
->Manage Installed Languages
->Install / Remove languages
. - Select
Chinese (Simplified)
. Make sureKeyboard Input method system
hasIbus
selected. Apply. - Reboot
- Log back in, reopen Settings, go to
Keyboard
. - Click on the "+" sign under
Input sources
. - Select
Chinese (China)
and thenChinese (Intelligent Pinyin)
.
In newer version of Ubuntu, I seem to have to install ibus-pinyin
$ sudo apt-get install ibus-pinyin
$ ibus restart
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
02 January 2023
16 October 2022
15 October 2022
10 May 2022
How to install vim plugin from github?
31 October 2021
10 October 2021
How to Compile & Install Python 3.10.0 from Source in Ubuntu 21.04, 21.10
How to Compile & Install Python 3.10.0 from Source in Ubuntu 21.04, 21.10
https://ubuntuhandbook.org/index.php/2021/10/compile-install-python-3-10-ubuntu/
06 September 2021
26 June 2021
On Windows, How to Install, Create and Activate a Python Virtual Environment (Project) for Django? mkvirtualenv is not recognized as an internal or external command, operable program or batch file
(For Windows)
How to Install, Create and Activate a Python Virtual Environment (Project) for Django?
mkvirtualenv is not recognized as an internal or external command, operable program or batch file
For Python 3.3 or newer, Commands for installing, creating and activate virtual environment has been changed.
You can install virtual environment using pip:
py -m pip install --user virtualenv
For creating new environment:
py -m venv myproject
To activate your virtual environment:
.\myproject\Scripts\activate
After activating virtual environment, You’ll see “(myproject)” next to the command prompt.