What is the mlocate command in Linux?
mlocate is a merging locate and database package. "Merging" means updatedb reuses the existing database to avoid re-reading most of the file system. This makes the database update faster and does not tax the system caches. mlocate can index several file systems including network file systems for network shares.
!.) installing " mlocate " packages
sudo apt-get update
sudo apt-get install mlocate
or
git clone https://github.com/msekletar/mlocate.git
Step 2. Update the search database
sudo updatedb
Step 3.)Update
sudo yum -y update
sudo yum -y install mlocate
Step 4.) Update SearchDB
sudo updatedb
Install Qt Creator on Linux
1) Install prerequisites
sudo apt-get update && sudo apt-get upgrade
This command installs the tools and libraries needed for Qt (be sure to copy/paste the entire line, it is long!)
sudo apt-get -y install build-essential openssl libssl-dev libssl1.0 libgl1-mesa-dev libqt5x11extras5 '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
If you're running some other variant of Linux, figure out a way to install the tools make, g++, and gdb. (For example, on Fedora / Red Hat systems, you may be able to use the yum package manager.)
2) Download and run the Qt installer
Download by pasting this link :
now in downloads : qt-unified-linux-x64-4.6.1-online.run
now give wr & rd permission to it.
chmod +x qt-unified-linux-x64-4.6.1-online.run
....now do everything like windows in Qt instalation
Comments
Post a Comment