Aptitude can help you when you initially install the package:
aptitude install "zlib1g-dev&M"
Or, after your have installed the package:
aptitude markauto "zlib1g"
Edit: If you do not have aptitude, you can use
apt-mark auto zlib1g-dev
Related Posts:
- How do I get apt-get to ignore some dependencies?
- list all packages from a repository in ubuntu / debian
- How do I ask apt-get to skip any interactive post-install configuration steps?
- How to determine JAVA_HOME on Debian/Ubuntu?
- dpkg-reconfigure: unable to re-open stdin: No file or directory
- Automate the installation of postfix on Ubuntu
- Best location to keep SSL certificates and private keys on Ubuntu servers?
- ping: google.com: Temporary failure in name resolution [closed]
- Docker System has not been booted with systemd as init system
- CentOS vs. Ubuntu [closed]
- Docker error : no space left on device
- How to establish ssh key pair when “Host key verification failed”
- How to install “make” in ubuntu?
- localhost/phpinfo.php
- After installing with pip, “jupyter: command not found”
- gpg: no valid OpenPGP data found
- Uncompress tar.gz file
- gpg: no valid OpenPGP data found
- E: Unable to locate package mongodb-org
- How to open the terminal in Atom?
- Valgrind permission denied on file
- Package php5 have no installation candidate (Ubuntu 16.04)
- nginx – nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
- How to install Boost on Ubuntu
- How to verify if nginx is running or not?
- E: Unable to locate package npm
- pdflatex not found. pdflatex is needed for pdf output
- Nginx: stat() failed (13: permission denied)
- PIP Could not find any downloads that satisfy the requirement SQLAlchemy
- MySQL: How to reset or change the MySQL root password?
- Removing all installed OpenCV libs
- Vim: No write since last change, even though I changed the file
- Why can’t I print to terminal with my python script?
- How to kill a process on a port on ubuntu
- whats the meaning of curl “-s” and “-m”
- How to view all ssl certificates in a bundle?
- List of files installed from apt package
- How do I auto-start docker containers at system boot?
- How do I reattach to Ubuntu Server’s ‘do-release-upgrade’ process?
- How to start/stop iptables on Ubuntu?
- Which ports do I need to open in the firewall to use NFS?
- How can I edit the welcome message when ssh start?
- How does Ubuntu keep track of the “System restart required” flag in motd?
- What does “debconf: delaying package configuration, since apt-utils is not installed” mean?
- Amazon Linux vs. Ubuntu for Amazon EC2 [closed]
- What is the debian-sys-maint MySQL user (and more)?
- How should an IT department choose a standard Linux distribution?
- Why is ssh agent forwarding not working?
- Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running?
- Amazon Linux: apt-get: command not found
- Amazon Linux: apt-get: command not found
- ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
- How to find which version of TensorFlow is installed in my system?
- Undefined function mysql_connect()
- ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)
- error: command ‘gcc’ failed with exit status 1 while installing eventlet
- “Couldn’t find a file descriptor referring to the console” on Ubuntu bash on Windows
- Why does the terminal show “^[[A” “^[[B” “^[[C” “^[[D” when pressing the arrow keys in Ubuntu?
- error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)’ — Missing /var/run/mysqld/mysqld.sock
- “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
- How to solve “Kernel panic – not syncing – Attempted to kill init” — without erasing any user data
- “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
- using pip3: module “importlib._bootstrap” has no attribute “SourceFileLoader”
- Failed to start mongod.service: Unit mongod.service not found
- docker command not found even though installed with apt-get
- What is difference between arm64 and armhf?
- Ubuntu ‘-bash: nano: command not found’
- screen Cannot open your terminal ‘/dev/pts/0’ – please check
- Unable to install gem – Failed to build gem native extension – cannot load such file — mkmf (LoadError)
- Unable to locate package libapache2-mod-php7
- Laravel 5.2 Storage::makeDirectory($dir) is not creating directory
- pip connection failure: cannot fetch index base URL http://pypi.python.org/simple/
- What is the difference between /etc/rc.local and ~/.bashrc?
- Unable to establish SSL connection upon wget on Ubuntu 14.04 LTS
- ImportError: No module named ‘xlrd’
- No module named ‘openpyxl’ – Python 3.4 – Ubuntu
- How to Install pip for python 3.7 on Ubuntu 18?
- C++ error: undefined reference to ‘clock_gettime’ and ‘clock_settime’
- No module named django but it is installed
- npm “failed to parse json”
- How do I install chkconfig on Ubuntu?
- make -j 8 g++: internal compiler error: Killed (program cc1plus)
- wget: unable to resolve host address `http’
- Error: Could not find or load main class net.minecraft.launchwrapper.Launch when launching Minecraft 1.12.2 with Forge
- List all mounts in Linux
- How to use sed to extract substring
- “E: Unable to locate package python3-pip”
- Forwarding port 80 to 8080 using NGINX
- Getting a 500 Internal Server Error on Laravel 5+ Ubuntu 14.04
- python-dev installation error: ImportError: No module named apt_pkg
- Anyone else experiencing high rates of Linux server crashes during a leap second day?
- What are the functional differences between .profile .bash_profile and .bashrc
- Difference in sites-available vs sites-enabled vs conf.d directories (Nginx)?
- Can you run Docker natively on the new Windows 10 (Ubuntu) bash userspace?
- How to install/change locale on Debian?
- mysqldump to a tar.gz
- How can I export the privileges from MySQL and then import to a new server?
- Heartbleed: how to reliably and portably check the OpenSSL version?
- Apache2 config variable is not defined
- apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName