How to Install and Uninstall sql-migrate Package on Debian 12 (Bookworm)

Last updated: December 23,2024

1. Install "sql-migrate" package

This is a short guide on how to install sql-migrate on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install sql-migrate

2. Uninstall "sql-migrate" package

Please follow the steps below to uninstall sql-migrate on Debian 12 (Bookworm):

$ sudo apt remove sql-migrate $ sudo apt autoclean && sudo apt autoremove

3. Information about the sql-migrate package on Debian 12 (Bookworm)

Package: sql-migrate
Source: golang-github-rubenv-sql-migrate (0.0~git20191213.0633851-3)
Version: 0.0~git20191213.0633851-3+b4
Installed-Size: 8351
Maintainer: Debian Go Packaging Team
Architecture: amd64
Depends: libc6 (>= 2.34), libsqlite3-0 (>= 3.12.0)
Description: SQL schema migration tool for Go (program)
Description-md5: 6b893ecb8abffe16f1628bdf7e8e196a
Homepage: https://github.com/rubenv/sql-migrate
Built-Using: golang-1.19 (= 1.19.8-2), golang-github-armon-go-radix (= 1.0.0-2), golang-github-bgentry-speakeasy (= 0.1.0-2), golang-github-denisenkom-go-mssqldb (= 0.0~git20170717.0.8fccfc8-7), golang-github-fatih-color (= 1.7.0-1), golang-github-go-sql-driver-mysql (= 1.5.0-2), golang-github-hashicorp-errwrap (= 1.1.0-1), golang-github-hashicorp-go-multierror (= 1.1.1-2), golang-github-lib-pq (= 1.10.7-2), golang-github-mattn-go-colorable (= 0.1.13-1), golang-github-mattn-go-isatty (= 0.0.17-1), golang-github-mattn-go-runewidth (= 0.0.14-1), golang-github-mattn-go-sqlite3 (= 1.14.16~ds1-1), golang-github-mitchellh-cli (= 1.1.1-1), golang-github-olekukonko-tablewriter (= 0.0.5-2), golang-github-posener-complete (= 1.2.3-2), golang-github-rivo-uniseg (= 0.4.2-1), golang-go.crypto (= 1:0.4.0-1), golang-golang-x-net (= 1:0.7.0+dfsg-1), golang-golang-x-sys (= 0.3.0-1), golang-gopkg-gorp.v1 (= 1.7.2-2), golang-yaml.v2 (= 2.4.0-4)
Section: devel
Priority: optional
Filename: pool/main/g/golang-github-rubenv-sql-migrate/sql-migrate_0.0~git20191213.0633851-3+b4_amd64.deb
Size: 2520188
MD5sum: 4e52036c3595730e49345ebc9f941bff
SHA256: e074c3475007625239d1abb821efa047cae660db0507be9ebfeed7b71e15d4a9