목록Linux (6)
for Time in Life:
There are several ways to unzip a file in the Linux terminal. UNZIP The most common method is to use the unzip command. To unzip a file, you need to run the following command in the terminal: unzip [filename.zip] Replace [filename.zip] with the name of the file that you want to unzip. This will extract all the files from the archive into the current working directory. If you want to extract the ..
Default python executable most of you know this. which python This command returns the path to the default Python executable in your system's PATH environment variable. All the pythons installed ls -la $(which -a python) This command returns a list of all the Python executables in your system, with additional information about each file, such as its permissions and the time of its last modificat..
apt and apt-get are two different command line tools for managing packages in Debian-based systems like Ubuntu. apt-get apt-get is a low-level tool for managing packages and is the original tool for package management in Debian-based systems. It can be used to install, remove, and update packages and is often used in scripts and other automated package management processes. apt apt, on the other..
chromedriver and chromium-chromedriver are both packages for the Chrome Driver, which is a separate executable that is used to control the Google Chrome browser programmatically. The main difference between the two packages chromedriver chromedriver is a standalone package that contains only the Chrome Driver executable chromedriver is usually recommended if you already have Google Chrome instal..
Installing Google Chrome on Linux Open your terminal and run the following command to update your package list: sudo apt update Download the Google Chrome package by running this command: wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb Install the package by running this command: sudo dpkg -i google-chrome-stable_current_amd64.deb You can start Google Chrome by sea..
패키지 관리에 대한 명령어 apt update # 설치할 수 있는 패키지 리스트의 최신 정보를 불러와줘 (도서관에 있는 도서 목록과 최신 정보를 확인하는 것과 유사) apt upgrade # 설치된 패키지들 중 업데이트 가능한게 있으면 전부 업데이트해줘 apt install -y superpack # superpack이란 패키지를 설치하고 중간에 나오는 모든 선택(Y/N)을 모두 yes로 처리해서 진행해줘 apt list # 설치 가능한 패키지 리스트 좀 보여줘 apt list --installed # 설치된 패키지 리스트 좀 보여줘 apt list --upgradable # 설치된 패키지 중 업그레이드 가능한게 있으면 알려줘