i created this question because i cant install phpmyadmin in Ubuntu 18.04 bionic LTS.
i use
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install phpmyadmin
And get "unable to locate package"
I search the package in package.ubuntu.com
And add to sources.list this repository:
mirrors.kernel.org/ubuntu
Now appear a error from depencies.
php-mbstring
php-common
later when try install these, appear:
php7.2-mbstring
php7.2-common
And later:
0.7.2ubuntu-0 (something like this)
How can i install phpmyadmin?
I do this
sudo apt-get update
all packages are updated
sudo apt-get upgrade
0 updated, 0 new will by installed, 0 for delete and 0 not updated
sudo apt-get install phpmyadmin
reading package list... done
creating three of dependencies
reading state information... done
E: cannot locate package phpmyadmin
Install
sudo add-apt-repository universe
After check
apt search phpmyadmin
Sorting... Done
Full Text Search... Done
adminer/bionic 4.6.2-1 all
Web-based database administration tool
phpliteadmin/bionic-security,bionic-updates 1.9.7.1-1ubuntu0.1 all
web-based SQLite database admin tool
phpliteadmin-themes/bionic-security,bionic-updates 1.9.7.1-1ubuntu0.1 all
web-based SQLite database admin tool - themes
phpmyadmin/bionic 4:4.6.6-5 all
MySQL web administration tool
After install
sudo apt install phpmyadmin
...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
apache2 apache2-bin apache2-data apache2-utils dbconfig-common dbconfig-mysql javascript-common libapache2-mod-php7.2 libapr1 libaprutil1
libaprutil1-dbd-sqlite3 libaprutil1-ldap libjs-jquery libjs-sphinxdoc libjs-underscore liblua5.2-0 libsodium23 libzip4 php php-bz2 php-pear
php-php-gettext php-phpseclib php-tcpdf php-zip php7.2 php7.2-bz2 php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline php7.2-zip
Suggested packages:
www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom php-libsodium php-mcrypt php-gmp php-imagick
The following NEW packages will be installed:
apache2 apache2-bin apache2-data apache2-utils dbconfig-common dbconfig-mysql javascript-common libapache2-mod-php7.2 libapr1 libaprutil1
libaprutil1-dbd-sqlite3 libaprutil1-ldap libjs-jquery libjs-sphinxdoc libjs-underscore liblua5.2-0 libsodium23 libzip4 php php-bz2 php-pear
php-php-gettext php-phpseclib php-tcpdf php-zip php7.2 php7.2-bz2 php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline php7.2-zip
phpmyadmin
0 upgraded, 34 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.9 MB of archives.
After this operation, 75.9 MB of additional disk space will be used.
Do you want to continue? [Y/n]
No comments:
Post a Comment